/in/foo.c: In function 'main':
/in/foo.c:8:9: warning: right-hand operand of comma expression has no effect [-Wunused-value]
for(i=1,i<n,i++)
^
/in/foo.c:8:17: error: expected ';' before ')' token
for(i=1,i<n,i++)
^
/in/foo.c:8:17: error: expected expression before ')' token
/in/foo.c:10:9: warning: right-hand operand of comma expression has no effect [-Wunused-value]
for(i=0,i<n,i++)
^
/in/foo.c:10:17: error: expected ';' before ')' token
for(i=0,i<n,i++)
^
/in/foo.c:10:17: error: expected expression before ')' token