Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

char array to int c

char myarray[5] = {'-', '1', '2', '3', ''};
int i;
sscanf(myarray, "%d", &i);
 
PREVIOUS NEXT
Tagged: #char #array #int
ADD COMMENT
Topic
Name
5+1 =