Question
a.
Usual pointer can’t change the values pointed
b.
Pointer should be made virtual
c.
Pointer should be made anonymous
d.
Pointer should be made const
Posted under Object Oriented Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. What should be done to prevent changes that may be made to the values pointed by the pointer?
Similar Questions
Discover Related MCQs
Q. References to object are same as pointers of object.
View solution
Q. Which is the pointer which denotes the object calling the member function?
View solution
Q. Which among the following is true ?
View solution
Q. The this pointer is accessible __________________
View solution
Q. An object’s this pointer _____________________
View solution
Q. The result of sizeof() function __________________
View solution
Q. Whenever non-static member functions are called _______________
View solution
Q. Which is the correct interpretation of the member function call from an object, object.function(parameter);
View solution
Q. The address of the object _________________
View solution
Q. Which syntax doesn’t execute/is false when executed?
View solution
Q. The this pointers _____________________
View solution
Q. Earlier implementations of C++ ___________________
View solution
Q. This pointer can be used directly to ___________
View solution
Q. Which among the following is/are type(s) of this pointer?
View solution
Q. Which is the correct syntax for declaring type of this in a member function?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Object Oriented Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!