adplus-dvertising
frame-decoration

Question

Why reference is not same as a pointer?

a.

A reference can never be null.

b.

A reference once established cannot be changed.

c.

Reference doesn't need an explicit dereferencing mechanism.

d.

All of the above.

Answer: (d).All of the above.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Why reference is not same as a pointer?

Similar Questions

Discover Related MCQs

Q. Which of the following concepts provides facility of using object of one class inside another class?

Q. Which of the following is an abstract data type?

Q. Which of the following concepts means adding new components to a program as it runs?

Q. Which of the following statement is correct?

Q. Which of the following correctly describes overloading of functions?

Q. Which of the following is correct about function overloading?

Q. Which of the following is correct about class and structure?

Q. Which of the following concepts means wrapping up of data and functions together?

Q. Which of the following concepts means waiting until runtime to determine which function to call?

Q. Which of the following functions are performed by a constructor?

Q. The address of a variable temp of type float is

Q. What is the output of the following code :
char symbol[3]={‘a’,‘b’,‘c’};
for (int index=0; index<3; index++)
cout << symbol [index];

Q. The process of building new classes from existing one is called ______.

Q. If a class C is derived from class B, which is derived from class A, all through public inheritance, then a class C member function can access

Q. If the variable count exceeds 100, a single statement that prints “Too many” is

Q. Usually a pure virtual function

Q. To perform stream I/O with disk files in C++, you should

Q. Overloading the function operator

Q. In C++, the range of signed integer type variable is ________

Q. If x = y,5 = 2 then x ∧ y equals________.

(where ∧ is a bitwise XOR operator)