adplus-dvertising
frame-decoration

Question

The result of sizeof() function __________________

a.

Includes space reserved for this pointer

b.

Includes space taken up by the address pointer by this pointer

c.

Doesn’t include the space taken by this pointer

d.

Doesn’t include space for any data member

Answer: (c).Doesn’t include the space taken by this pointer

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The result of sizeof() function __________________

Similar Questions

Discover Related MCQs

Q. An object’s this pointer _____________________

Q. The this pointer is accessible __________________

Q. Which among the following is true ?

Q. Which is the pointer which denotes the object calling the member function?

Q. References to object are same as pointers of object.

Q. What should be done to prevent changes that may be made to the values pointed by the pointer?

Q. How can the address stored in the pointer be retrieved?

Q. If pointer to an object is created and the object gets deleted without using the pointer:

Q. Which is the correct syntax to call a member function using pointer?

Q. Is name of an array of objects is also a pointer to object?

Q. Can pointers to object access the private members of the class?

Q. Pointer to a base class can be initialized with the address of derived class, because of _________

Q. A pointer _________________

Q. What is the size of object pointer?

Q. If pointer to an object is declared, ___________

Q. How does compiler decide the intended object to be used, if more than one object are used?

Q. Which operator should be used to access the members of the class using object pointer?

Q. Which is correct syntax for declaring pointer to object?

Q. Which language among the following doesn’t allow pointers?

Q. Assigning objects takes place while passing the arguments.