adplus-dvertising
frame-decoration

Question

Which of the following calls a function named displayName, passing it no actual arguments?

a.

call displayName;

b.

call displayName ();

c.

displayName;

d.

displayName();

Answer: (d).displayName();

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following calls a function named displayName, passing it no actual arguments?

Similar Questions

Discover Related MCQs

Q. Functions that returns information about an object's state can be classified as ________

Q. An auxiliary function _____

Q. Assume a program contains a void function named displayName, which requires no formal parameters. Which of the following is a correct function prototype for this function?

Q. The function whose prototype is Item getData(void); returns _____

Q. The name of a function ends with

Q. Function templates _____________

Q. The outline or the definition of a function is called its

Q. A function stub typically contains

Q. A variable's _____ indicates which portions of the program can use the variable

Q. The get() function returns _____

Q. You can place function templates

Q. The last statement in a value-returning function is always _____

Q. Another drawback to returning an error code from a function is that any error code returned by the function

Q. The function that takes arguments to set the bits of cout is _____

Q. The function that takes arguments to set the bits of count is _____

Q. When two types are used in a function template and one is labeled T, the other

Q. The getline() function reads a line of text until _____

Q. One drawback to returning an error code from a function is _____

Q. The two parts of a function are the

Q. The actual arguments cannot he