Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

c int to char

int i = 7;
char str[256];

itoa(i,str,10); //Base 10

char c = str[0]; // c="7"
 
PREVIOUS NEXT
Tagged: #int #char
ADD COMMENT
Topic
Name
7+6 =