Answers for "to char c"

C
8

turn a char into an int in c

int x = character - '0';
Posted by: Guest on November-04-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