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 12:52

>>114
Are you that same person (kodak_gallery_programmer)? You realize global variables have file scope by definition, right? Since they have file scope, they can't have automatic duration. The object could be a pointer to an object that has allocated duration, but the variable itself would still have static duration.

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