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

Question

Name: Anonymous 2012-01-16 16:18


void anus(int i){
  int *p = &i;
  p = p - sizeof(void*);
  *p = NULL;
}

int main(int argc,char *argv[]){
  fib(0);
}



What does this code produce?

Name: Anonymous 2012-01-16 17:12

>>9
Even though you're using an x86 machine the implementation might be a 16 bit environment. So you're assuming more than just x86 and a 32 bit machine, you're assuming a 32 bit implementation.

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