+ 1
#why output b=100 not 300? please explain.
int main() { int a=500,b=100,c; if(!a>=400) b=300; c=200; printf("b=%d c=%d\n", b,c); return 0; }
4 Respostas
+ 3
I thought that. But I was little bit confused. Thank you Jamie
+ 1
But Jay it also works fine. so what should choose between (!a>=400) and ! (a>=400)?
+ 1
Yes Jay is right.