Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

char to int in c

char c = '5';
int x = c - '0';
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #char #int
ADD COMMENT
Topic
Name
3+1 =