/in/foo.cc:20:9: warning: character constant too long for its type
cout<<'right';
^~~~~~~
/in/foo.cc:24:10: warning: character constant too long for its type
cout<<'right';
^~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:19:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(a=10 && s[12]=='x')
^
/in/foo.cc:6:8: warning: unused variable 'j' [-Wunused-variable]
int i,j,k,a;
^
/in/foo.cc:6:10: warning: unused variable 'k' [-Wunused-variable]
int i,j,k,a;
^