Solved

If C Is a Character Variable That Contains a Digit

Question 4

Multiple Choice

If c is a character variable that contains a digit, what does the following function return?
Int digit_to_intchar c)
{
Return intc) - int'0') ) ;
}


A) The ASCII value of c
B) The character value of c
C) The integer equivalent of the digit stored in c
D) none of the above

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions