#include <stdio.h> void main(void) { int i; char *pa; static char a[4] = {'A', 'B', 'C', 'D'}; pa = a for (i = 0; i < 4; i++) }
Standard input is empty
prog.c:3:6: warning: return type of ‘main’ is not ‘int’ [-Wmain]
void main(void)
^~~~
prog.c: In function ‘main’:
prog.c:9:3: error: expected ‘;’ before ‘for’
for (i = 0; i < 4; i++)
^~~
prog.c:6:9: warning: variable ‘pa’ set but not used [-Wunused-but-set-variable]
char *pa;
^~
prog.c:5:7: warning: unused variable ‘i’ [-Wunused-variable]
int i;
^
Standard output is empty