Recently i mistakenly used
char ch1='10';
char ch2='a';
cout<<ch1*ch2<<endl;
and I received output as 4656 with a warning:
warning: multi-character character constant [-Wmultichar] char c2 = '10'; ^~~~
Now i have no clue what is just happened. Can anyone help me understand?