I am trying to copy the ascii value of characted in s2[0] to buff, but compiler gives error: "too many characters in constant" at line 3 above. What's the problem?
'' is not an operator, it is used for character literals. char letter = 97; would be the same as char letter = 'a';
'a' returns a number (97 in this case) with type char.
If it worked the way you think this would be possible: