/in/foo.c:1:2: error: invalid preprocessing directive #intclude
#intclude<stdio.h>
^~~~~~~~
/in/foo.c: In function 'main':
/in/foo.c:5:5: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
scanf("%d",&x);
^~~~~
/in/foo.c:5:5: warning: incompatible implicit declaration of built-in function 'scanf'
/in/foo.c:5:5: note: include '<stdio.h>' or provide a declaration of 'scanf'
/in/foo.c:14:13: error: 'o' undeclared (first use in this function)
if(cnt==o)
^
/in/foo.c:14:13: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:15:9: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
printf("Yes");
^~~~~~
/in/foo.c:15:9: warning: incompatible implicit declaration of built-in function 'printf'
/in/foo.c:15:9: note: include '<stdio.h>' or provide a declaration of 'printf'
/in/foo.c:17:9: warning: incompatible implicit declaration of built-in function 'printf'
printf("No");
^~~~~~
/in/foo.c:17:9: note: include '<stdio.h>' or provide a declaration of 'printf'