1.

What does the dereference operator will return?(a) rvalue equivalent to the value at the pointer address(b) lvalue equivalent to the value at the pointer address(c) it will return nothing(d) it will return boolean valuesThe question was posed to me in exam.Asked question is from Dereferencing topic in chapter Source Files, Classes and Operator Overloading in C++ of C++

Answer»

Right choice is (B) LVALUE EQUIVALENT to the VALUE at the pointer address

Easy explanation - It operates on a pointer variable, and returns an l-value equivalent to the value at the pointer address.



Discussion

No Comment Found

Related InterviewSolutions