0
Hello why the type of the output is an integer?
Here is thr code and thanks for helping! https://code.sololearn.com/cV9cm4GrEZaz/?ref=app
4 Answers
+ 4
Looks like implicit conversion has happened here
https://www.geeksforgeeks.org/type-conversion-in-c/amp/
+ 1
The result is of type byte. Every char is a representation of a byte. If you want the char you must do (char)(h+i) witch adds i to the byte value of h and then converts it to char
+ 1
Thank you both of you mates!
0
I didn't understand you question.