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