fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. int arr[][5]={{0}};
  6. int **p=arr;
  7. printf("%d",*p);
  8. return 0;
  9. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function 'main':
prog.c:6:10: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
  int **p=arr;
          ^
prog.c:7:9: error: format '%d' expects argument of type 'int', but argument 2 has type 'int *' [-Werror=format=]
  printf("%d",*p);
         ^
cc1: all warnings being treated as errors
stdout
Standard output is empty