Examveda
Examveda

The difference between a return and a throw is that _____

A. with a throw, no value can be sent

B. with a return, no value can be sent

C. with a throw, execution takes place at the location from which the function was called

D. with a return, execution takes place at the location from which the function was called

Answer: Option D


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