0
why I'm getting small z on 23 ......???
3 Antworten
+ 2
char C = 'A' + 25;
char c = 'c' + 23;
'c' + 23 becomes 'z' because ASCII value of 'c' was 199, and by adding 23 to that, we get 'z' whose ASCII value was 122.
If you used ...
char c = 'a' + 23
You would get a different output ...
+ 2
Here ...
https://en.m.wikipedia.org/wiki/ASCII
About ASCII values ...
https://www.ascii-code.com/
https://www.asciitable.com/mobile/
+ 1
Ipang full form of ASCII ??