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

void > null

Name: Anonymous 2008-01-16 9:02

Prove me wrong, /prog/

Name: Anonymous 2008-01-17 1:49

$ cat > test.c
#include <stdio.h>

int main(){
 if(sizeof(NULL) > sizeof(void)) puts("NULL > void");
 if(sizeof(NULL) < sizeof(void)) puts("NULL < void");
 if(sizeof(NULL) == sizeof(void)) puts("NULL == void");
 return 0;
}
$ tcc -run test.c
NULL > void
$

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