generic
parent
77f4bf94c3
commit
b1bd341470
|
@ -1,4 +0,0 @@
|
|||
/*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);
|
Loading…
Reference in New Issue