Transformez un char en un int en 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);
char c = '5';
int x = c - '0';
int i;
char c = 'A';
i = (int)c;