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:03

>>160
I said they cannot have no linkage

That really isn't clear. You might want to work on your grammar there buddy.

The only variables with no linkage are those declared at block scope

Again, that's incorrect. Those variables have to have some kind of linkage, otherwise, if I compile this C program against another C program, I could access those variables in that block.

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