Examveda
Examveda

A C++ program contains a function with the header int function(double d, char c). Which of the following function headers could be used within the same program?

A. char function(double d, char c)

B. int function(int d, char c)

C. both (a) and (b)

D. neither (a) nor (b)

Answer: Option B


Join The Discussion

Comments ( 1 )

  1. GASPER MOSHA
    GASPER MOSHA :
    1 year ago

    why the answer is B and not A

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