Return
Styles:
Pseud0ch
,
Terminal
,
Valhalla
,
NES
,
Geocities
,
Blue Moon
.
Entire thread
Can your C compiler do this:
1
Name:
Anonymous
2010-05-15 15:06
int main()
{
int *p;
p = 0;
*p = 0;
return 0;
}
?
14
Name:
Anonymous
2010-05-15 17:23
>>11
Back in the day, most platforms actually put zero at address zero, so that a null pointer was equivalent to the empty string. Apparently, converting all this code to use a real empty string on platforms with memory protection was a mess.
Newer Posts
Don't change these.
Name:
Email:
Entire Thread
Thread List