/in/foo.cc:21:9: warning: character constant too long for its type
cout<<'Right';
^~~~~~~
/in/foo.cc:25:10: warning: character constant too long for its type
cout<<'Right';
^~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:19:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(a=10)
^
/in/foo.cc:19:3: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if(a=10)
^
/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;
^