another bug exercise

cat-town
Dan Buch 14 years ago
parent cf6f47c990
commit 803101b36f

@ -0,0 +1,20 @@
/**
* :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
*/
Loading…
Cancel
Save