/in/foo.c: In function 'main':
/in/foo.c:9:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
{ for(int i=0;i<100;i++)
^~~
/in/foo.c:10:14: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
a[i]=x%2;x=x/2;
^
/in/foo.c:11:10: error: 'i' undeclared (first use in this function)
if(a[i]!=0&&a[i]!=1)
^
/in/foo.c:11:10: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:12:6: error: break statement not within loop or switch
break;
^~~~~
/in/foo.c:16:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
{for(int i=0;i<100;i++)
^~~
/in/foo.c:17:14: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
a[i]=x%2;x=x/2;
^
/in/foo.c:18:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(a[i]!=0&&a[i]!=1)
^~
/in/foo.c:20:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
break;
^~~~~
/in/foo.c:20:6: error: break statement not within loop or switch