verwandeln Sie einen Char in C in C in C.
int x = character - '0';
Nervous Problem
int x = character - '0';
int i = (int)(c - '0');
strcpy(str, "98993489");
val = atoi(str);
printf("String value = %s, Int value = %d\n", str, val);
int i;
char c = 'A';
i = (int)c;