foo.cc: In function ‘int main()’:
foo.cc:34:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
34 | if(i%a==0&&i%b==0)
| ^~
foo.cc:37:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
37 | flag=1;
| ^~~~
foo.cc:39:18: warning: ‘c’ may be used uninitialized [-Wmaybe-uninitialized]
39 | cout<<c<<" "<<d<<endl;
| ^~~
foo.cc:17:17: note: ‘c’ was declared here
17 | int a,b,c,d,flag;
| ^
foo.cc:39:23: warning: ‘d’ may be used uninitialized [-Wmaybe-uninitialized]
39 | cout<<c<<" "<<d<<endl;
| ^
foo.cc:17:19: note: ‘d’ was declared here
17 | int a,b,c,d,flag;
| ^