How do I convert a char to an int in C and C++?
char
int
For char or short to int, you just need to assign the value.
char ch = 16; int in = ch;
Same to int64.
long long lo = ch;
All values will be 16.