/in/foo.c: In function 'main':
/in/foo.c:6:9: warning: too many arguments for format [-Wformat-extra-args]
6 | scanf("%d",&n,n);
| ^~~~
/in/foo.c:7:3: error: unknown type name 'bool'
7 | bool primer(int n)
| ^~~~
/in/foo.c:2:1: note: 'bool' is defined in header '<stdbool.h>'; did you forget to '#include <stdbool.h>'?
1 | #include <stdio.h>
+++ |+#include <stdbool.h>
2 |
/in/foo.c:8:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
8 | {
| ^
/in/foo.c:16:6: error: 'primer' undeclared (first use in this function)
16 | if(primer)
| ^~~~~~
/in/foo.c:16:6: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:5:7: warning: unused variable 'i' [-Wunused-variable]
5 | int i;
| ^