You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
box-o-sand/oldstuff/PracticingC/gowrikumar/src/09-multipleassignment.c

21 lines
390 B

/**
* :author: Dan Buch (daniel.buch@gmail.com)
*/
#include <stdio.h>
int main()
{
/* FIXME: the comma after "a = 1" makes the compiler angry. Either the
* ", 2" should be removed or another assignment should be added.
int a = 1, 2;
*/
int a = 1, b = 2;
printf("a: %d\n", a);
printf("b: %d\n", b);
return 0;
}
/* vim:filetype=c:fileencoding=utf-8
*/