Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

What will this C code do?

Name: Anonymous 2012-01-19 8:24

void main(){
int x=1;
printf("%d\n",x=2);
}

Name: Anonymous 2012-01-22 14:23

>>134
I can now see why I'm even having to argue with you with something that should be obvious. You can't read. Of course that's not an expression. "Used as an expression" means:

if (foo);

There. I used it as an expression.

Also, int foo; is an external definition, not just a declaration. Just in case you didn't know.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List