/in/foo.c: In function 'main':
/in/foo.c:7:12: error: 'i' undeclared (first use in this function)
7 | if(i=2;i<=sqrt(n);i++){
| ^
/in/foo.c:7:12: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:7:15: error: expected ')' before ';' token
7 | if(i=2;i<=sqrt(n);i++){
| ~ ^
| )
/in/foo.c:10:25: error: break statement not within loop or switch
10 | break;
| ^~~~~
/in/foo.c:14:17: warning: implicit declaration of function 'print'; did you mean 'lrint'? [-Wimplicit-function-declaration]
14 | print("is a prime",n);
| ^~~~~
| lrint