

MCQOPTIONS
Saved Bookmarks
1. |
Which of the following function declaration using default arguments is incorrect? |
A. | int foo(int x, int y =5, int z=10) |
B. | int foo(int x=5, int y =10, int z) |
C. | int foo(int x=5, int y, int z=10) |
D. | All are correct |
Answer» B. int foo(int x=5, int y =10, int z) | |