Examveda
Examveda

One drawback to returning an error code from a function is _____

A. functions cannot return error codes

B. error codes must be integers and some functions can't return an integer

C. a function can return only one value, so it can return only the error code

D. a function that returns an error code will identify all returns as errors

Answer: Option C


Join The Discussion

Related Questions on Object Oriented Programming Using C Plus Plus

A default catch block catches

A. all thrown objects

B. no thrown objects

C. any thrown object that has not been caught by an earlier catch block

D. all thrown objects that have been caught by an earlier catch block