Predict the output of the following c program.
#includestdio.h
int main()
{
int a = 1000, b = 700, c;
if(!a = 500)
{
b = 300;
}
c = 700;
printf("b = %d c = %d\n", b, c);
return 0;
}

Posted on by