fork download
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. // your code goes her
  5. char *s1;
  6. char far *s2;
  7. char huge *s3;
  8. printf("%d, %d, %d\n",sizeof(s1),sizeof(s2),sizeof(s3));
  9. return 0;
  10. }
  11.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘main’:
prog.c:6:11: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
  char far *s2;
           ^
prog.c:6:12: error: ‘s2’ undeclared (first use in this function)
  char far *s2;
            ^~
prog.c:6:12: note: each undeclared identifier is reported only once for each function it appears in
prog.c:7:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
  char huge *s3;
            ^
prog.c:7:13: error: ‘s3’ undeclared (first use in this function)
  char huge *s3;
             ^~
stdout

Standard output is empty