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-21 15:28

>>73
Because what this person wrote about only applies to variables that have automatic duration. The blog covers more than that. This is an important distinction because there are some widely used Linux programs that have uninitialized variables. However those variables aren't undefined because they don't have automatic duration.

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