104. Strings and Character Handling-i

Question.5

A developer converts a digit character to its numeric value:

char c = '7';
int val = c - '0';
printf("%d", val);

What is the output?

Need Help? Refer to the Quick Guide below

Select Answer