Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Can your C compiler do this:

Name: Anonymous 2010-05-15 15:06


int main()
{
  int *p;
  p  = 0;
  *p = 0;
  return 0;
}


?

Name: Anonymous 2010-05-16 5:40

>>38
I'd solve it by realizing that obtaining an invalid address is not a requirement: see the last statement in >>35. There is no problem. Unless you are simply taking the goal of obtaining an invalid address, in which case I misunderstood your comment--but then it has no bearing on standards conformance that I know of.

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