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 16:41

>>175
That only applies to variables at block scope. There are other variables. Namely global ones.

Name: Anonymous 2012-01-22 16:42

>>175
And again, you're making the assumption that variables at block scope apply to global variables.

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