Vidyalelo
Computer Science · Q236

Object Oriented Programming Using C++

Engineering and GATE · Computer Science · question 236

Q236

Another drawback to returning an error code from a function is that any error code returned by the function

A.
must be of the same type as return type of the function
Answer
B.
must not be a character
C.
cannot be checked in a main() program
D.
can have multiple meanings

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board