adplus-dvertising
frame-decoration

Question

When a program calls a function that has default parameters, if you omit an argument, you must _____

a.

not omit any other arguments

b.

omit all arguments

c.

omit all arguments to the right of that argument

d.

omit all arguments to the left of that argument

Answer: (c).omit all arguments to the right of that argument

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. When a program calls a function that has default parameters, if you omit an argument, you must _____

Similar Questions

Discover Related MCQs

Q. Each generic type in a template function definition is preceded by the keyword _________

Q. The declaration section holds

Q. When the function void someFunction(int x) throw(char) is executed,_____

Q. Which of the following is NOT included in the header of a function?

Q. A function's single most important role is to

Q. The type of value that a function sends back to the function that calls it is known as its _____

Q. A function's purpose is to print customer data. Which of the following is the best name for this function?

Q. The function whose prototype is void getData(Item &thing); receives

Q. A function can make_________

Q. The loosest type of coupling is

Q. Which of the following function prototype is perfectly acceptable?

Q. Which of the following statement is correct?

Q. Which of the following statement is correct?

Q. Which of the following statement is correct?

Q. Which of the following statement will be correct if the function has three arguments passed to it?

Q. Which of the following statement is incorrect?

Q. Which of the following statement is correct?

Q. Which of the following function / type of function cannot be overloaded?

Q. Which of the following function declaration is/are incorrect?

Q. Which of the following statement is incorrect?