+ 1
Can anybody tell me why 48 is being added to the integer value?
I tried to convert an element of a char array to integer. But everytime 48 is being added to the actual value. Plz explain. See the code attached. https://code.sololearn.com/cZmd6VkaTAlW/?ref=app
2 Réponses
+ 3
It returns the ascii decimal value for character '3'