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 15:45

>>156
What do you mean your compiler verifies it?

Please tell me you know that static duration and the static specifier are two different things? The latter means that the variable has internal linkage, and is one of the conditions for a variable to have static duration, mutually exclusive. The other is external linkage. Using deduction, it becomes clear that all global variables have static duration, because global variables cannot have no linkage, which is the only other type of linkage.

Now please give your responses a second thought before clicking reply, you inept fuck.

>>157
...

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