foo.cc: In function ‘int main()’:
foo.cc:31:31: warning: right operand of comma operator has no effect [-Wunused-value]
31 | b1++,s;
| ^
foo.cc:49:32: warning: right operand of comma operator has no effect [-Wunused-value]
49 | b1++,s1;
| ^
foo.cc:6:22: warning: unused variable ‘x’ [-Wunused-variable]
6 | int n1,n2,n3,x=0,y=0,n;
| ^
foo.cc:6:26: warning: unused variable ‘y’ [-Wunused-variable]
6 | int n1,n2,n3,x=0,y=0,n;
| ^
foo.cc:6:30: warning: unused variable ‘n’ [-Wunused-variable]
6 | int n1,n2,n3,x=0,y=0,n;
| ^