Question: If c is a character variable that contains a digit, what does the following function return? int digit _ to _ int ( char c
If c is a character variable that contains a digit, what does the following function return?
int digittointchar c
return intc int;
the ASCII value of c
the character value of c
the integer equivalent of the digit stored in c
none of these
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
