prog.c: In function 'main':
prog.c:5:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before numeric constant
int const *ptr 5;
^
prog.c:5:17: warning: statement with no effect [-Wunused-value]
prog.c:7:22: error: 'ptr' undeclared (first use in this function)
printf("%d\r\n",++(*ptr));
^
prog.c:7:22: note: each undeclared identifier is reported only once for each function it appears in