fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. printf("%d\n", (int)sizeof(*NULL));
  5. return 0;
  6. }
  7.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘main’:
prog.c:4:28: error: invalid application of ‘sizeof’ to a void type [-Werror=pointer-arith]
  printf("%d\n", (int)sizeof(*NULL));
                            ^
cc1: all warnings being treated as errors
stdout
Standard output is empty