Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

char to int in c

   strcpy(str, "98993489");
   val = atoi(str);
   printf("String value = %s, Int value = %d
", str, val);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #char #int
ADD COMMENT
Topic
Name
1+1 =