0

why I'm getting small z on 23 ......???

https://code.sololearn.com/cioh6wmVnABb/?ref=app

12th Mar 2022, 5:27 PM
Davinder Kumar
Davinder Kumar - avatar
4 ответов
+ 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 ...
12th Mar 2022, 5:40 PM
Ipang
+ 1
Ipang full form of ASCII ??
12th Mar 2022, 5:44 PM
Davinder Kumar
Davinder Kumar - avatar