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:
Verified
Q18: What does the function given here do
Q19: There is no problem with these two
Q20: The compiler ha no problem distinguishing these
Q21: Write a stub for the function whose
Q22: Which of the following overloadings will be
Q24: Given the function,and the main function calling
Q25: Write a stub for the following function
Q26: What is a driver program?
Q27: Write a void function definition for a
Q28: Which of the following overloadings will be
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents