/in/foo.c: In function 'main':
/in/foo.c:15:26: error: 'b' undeclared (first use in this function)
if(!(a*a-1)%(i-a)&&(a+b+c)==i)
^
/in/foo.c:15:26: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:15:28: error: 'c' undeclared (first use in this function)
if(!(a*a-1)%(i-a)&&(a+b+c)==i)
^
/in/foo.c: At top level:
/in/foo.c:37:9: error: expected declaration specifiers or '...' before string constant
printf("%d %d",num,r);
^~~~~~~
/in/foo.c:37:17: error: unknown type name 'num'
printf("%d %d",num,r);
^~~
/in/foo.c:37:21: error: unknown type name 'r'
printf("%d %d",num,r);
^
/in/foo.c:38:2: error: expected identifier or '(' before 'return'
return 0;
^~~~~~
/in/foo.c:39:1: error: expected identifier or '(' before '}' token
}
^