char a = '6'; //bounded by 0 and 9
int n1 = a - '0';
int n2 = a - 48;
int n3 = std::stoi(&a);
//simply Minus a string ZERO from it
char c = '4" ;
cout << c -'0' << endl; // int-4
//check
cout << c + 2 ; // 6
int x = character - '0'
char a = '4';
int ia = a - '0';
int x = '9' - 48;
// x now equals 9 as an integer
int x = '9' - 48;//converts '9' to 9 as an int