+ 2
How are variables with certain datatypes interpreted?If they are interpreted based on asciivalue then can we add int,char(no.)?
2 odpowiedzi
+ 3
Yes, you can add integers and characters together, and the integer value of a character reflects its ASCII character code.
A char is nothing more than a single-byte integer as far as arithmetic is concerned.
+ 2
Thank you squidy