Answers for "convert an int to ascii char c"

C
6

int to char in c

c = i +'0';
Posted by: Guest on October-20-2020
-1

how to transform a char to ascii code in c

int a_as_int = (int) 'a';
Posted by: Guest on June-22-2020

Code answers related to "C"

Browse Popular Code Answers by Language