Wednesday 13 July 2016

Tricky

I thought the following C program is perfectly valid (after reading about the comma operator in C). But there is a mistake in the following program, can you identify it?

#include 

int main()
{
        int a = 1,2;
        printf("a : %d\n",a);
        return 0;
}

1 comment: