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:
Verified
Q17: If a given task being performed by
Q18: An operator that expects only one parameter
Q19: A _ function is not a member
Q20: Friend functions are members of the class.
Q21: Write the function declaration for a copy
Q23: Write the function declaration for an assignment
Q24: Who can access private data in a
Q25: Which of the following would be an
Q26: To overload functions with symbolic names like
Q27: Operators can be overloaded as
A) friends of
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents