/in/foo.c: In function 'main':
/in/foo.c:9:10: warning: right-hand operand of comma expression has no effect [-Wunused-value]
for(n=2,i<n,i++){
^
/in/foo.c:9:18: error: expected ';' before ')' token
for(n=2,i<n,i++){
^
/in/foo.c:9:18: error: expected expression before ')' token
/in/foo.c:16:12: warning: format '%d' expects a matching 'int' argument [-Wformat=]
printf("%d is a primer!\n");
^
/in/foo.c:18:14: warning: format '%d' expects a matching 'int' argument [-Wformat=]
printf("%d is not a primer!\n");
^
/in/foo.c:19:1: error: expected declaration or statement at end of input
}
^