adplus-dvertising
frame-decoration

Question

When you pass a variable _____, C++ passes only the contents of the variable to the receiving function

a.

by reference

b.

by value

c.

globally

d.

locally

Answer: (b).by value

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. When you pass a variable _____, C++ passes only the contents of the variable to the receiving function

Similar Questions

Discover Related MCQs

Q. The best form of coupling is _____

Q. Paying attention to the important properties while ignoring inessential details is known as________

Q. An array name is a _____

Q. To enter a comment in a C++ program, you begin the comment with _____

Q. You define a structure type globally because _____

Q. Redirection redirects

Q. Sending a copy of data to a program module is called _______

Q. A widget is to the blueprint for a widget as an object is to

Q. C++ allows you to define the same functions more than once in the same program _____

Q. Which of the following assigns the number 5 to the area variable?

Q. The _____ mode tells C++ to open a file for input

Q. Using the wardrobe structure within the ShopList structure is an example of a good programming principle, known as _____

Q. Variables declared outside a block are called _____

Q. The compiler converts your C++ instructions into _____

Q. A fundamental type such as int or double is a _____

Q. The return type you code for all constructors is _____

Q. Using a statement at the wrong time or with an inappropriate object creates a

Q. Evaluate the following expression:
4 >6 || 10 < 2 * 6

Q. A normal C++ operator that acts in special ways on newly defined data types is said to be

Q. In which statements, does a 'continue' statements cause the control to go directly to the test condition and then continue the looping process?