Here is the code, it works, it converts 66 into the ASCII equivalent of B.
int ascii = 66;
char character = (char) ascii;
What I don't understand is, how does it work? If this was an exam paper, what would you write?
The question would be, describe how the program converts it into a "B". Is char
a function?