prog.c:1:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
main()
^~~~
prog.c: In function ‘main’:
prog.c:4:12: warning: multi-character character constant [-Wmultichar]
(arr+2)[3]='44';
^~~~
prog.c:4:12: warning: overflow in implicit constant conversion [-Woverflow]
prog.c:6:1: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration]
printf(“%c”,x);
^~~~~~
prog.c:6:1: warning: incompatible implicit declaration of built-in function ‘printf’
prog.c:6:1: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’
prog.c:6:8: error: stray ‘\342’ in program
printf(“%c”,x);
^
prog.c:6:9: error: stray ‘\200’ in program
printf(“%c”,x);
^
prog.c:6:10: error: stray ‘\234’ in program
printf(“%c”,x);
^
prog.c:6:11: error: expected expression before ‘%’ token
printf(“%c”,x);
^
prog.c:6:13: error: stray ‘\342’ in program
printf(“%c”,x);
^
prog.c:6:14: error: stray ‘\200’ in program
printf(“%c”,x);
^
prog.c:6:15: error: stray ‘\235’ in program
printf(“%c”,x);
^
prog.c:5:5: warning: unused variable ‘x’ [-Wunused-variable]
int x=(arr+2)[3];
^