foo.c: In function ‘main’:
foo.c:6:11: warning: left-hand operand of comma expression has no effect [-Wunused-value]
6 | (a,b)==n;
| ^
foo.c:6:14: warning: statement with no effect [-Wunused-value]
6 | (a,b)==n;
| ~~~~~^~~
foo.c:7:13: warning: comparison of constant ‘100000’ with boolean expression is always true [-Wbool-compare]
7 | 1<=n<=100000;
| ^~
foo.c:7:10: warning: comparisons like ‘X<=Y<=Z’ do not have their mathematical meaning [-Wparentheses]
7 | 1<=n<=100000;
| ~^~~
foo.c:7:9: warning: statement with no effect [-Wunused-value]
7 | 1<=n<=100000;
| ^
foo.c:8:9: error: ‘cout’ undeclared (first use in this function)
8 | cout<<n<<endl;
| ^~~~
foo.c:8:9: note: each undeclared identifier is reported only once for each function it appears in
foo.c:8:18: error: ‘endl’ undeclared (first use in this function)
8 | cout<<n<<endl;
| ^~~~