|
/*char to int (48 is the value of '0' in the ascii table)
|
|
since casting char to int returns an int with the value of the char inside the ascii table (see ascii table), subtracting 48 makes the new int is correspettive in number.
|
|
|
|
printf("%d", ((int) ('3')) - 48);
|