Question
a.
Changes its use, when used at declaration and in normal assignment
b.
Doesn’t changes its use, whatever the syntax might be
c.
Assignment takes place in declaration and assignment syntax
d.
Doesn’t work in normal syntax, but only with declaration
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. Use of assignment operator ____________________
Similar Questions
Discover Related MCQs
Q. If more than one object refer to the same address, any changes made
View solution
Q. How to make more than one object refer to the same object?
View solution
Q. We can assign ______________________
View solution
Q. Assigning reference to an object _________________
View solution
Q. Which among the following is true ?
View solution
Q. Assigning objects takes place while passing the arguments.
View solution
Q. Which language among the following doesn’t allow pointers?
View solution
Q. Which is correct syntax for declaring pointer to object?
View solution
Q. Which operator should be used to access the members of the class using object pointer?
View solution
Q. How does compiler decide the intended object to be used, if more than one object are used?
View solution
Q. If pointer to an object is declared, ___________
View solution
Q. What is the size of object pointer?
View solution
Q. A pointer _________________
View solution
Q. Pointer to a base class can be initialized with the address of derived class, because of _________
View solution
Q. Can pointers to object access the private members of the class?
View solution
Q. Is name of an array of objects is also a pointer to object?
View solution
Q. Which is the correct syntax to call a member function using pointer?
View solution
Q. If pointer to an object is created and the object gets deleted without using the pointer:
View solution
Q. How can the address stored in the pointer be retrieved?
View solution
Q. What should be done to prevent changes that may be made to the values pointed by the pointer?
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!