Solved

Which of the Following Function Declarations with Default Arguments Are

Question 19

Multiple Choice

Which of the following function declarations with default arguments are correct?


A) void g(int length,int width,int height = 1) ;
B) void g(int length=1,int width,int height) ;
C) void g(int length,int width=1,int height = 1) ;
D) void g(int length=1,int width=1,int height) ;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions