fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int *intp;
  5. intp = {1,2,3,4,5};
  6. //printf("%u",intp);
  7. printf("hello!!!");
  8. //printf("%d", *intp);
  9. return 0;
  10. }
  11.  
Compilation error #stdin compilation error #stdout 0s 9424KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘main’:
prog.c:5:9: error: expected expression before ‘{’ token
  intp = {1,2,3,4,5};
         ^
prog.c:4:7: warning: variable ‘intp’ set but not used [-Wunused-but-set-variable]
  int *intp;
       ^~~~
stdout
Standard output is empty