/in/foo.c: In function 'main':
/in/foo.c:8:16: error: lvalue required as increment operand
for(i=1;i<=n;1++)
^~
/in/foo.c:15:9: error: stray '\' in program
printf(\n);
^
/in/foo.c:15:10: warning: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
printf(\n);
^
In file included from /in/foo.c:1:0:
/usr/include/stdio.h:364:12: note: expected 'const char * restrict' but argument is of type 'int'
extern int printf (const char *__restrict __format, ...);
^~~~~~