Computer Science · Object Oriented Programming
Which of the following statements regarding Object Oriented Programming in C++ are TRUE? A. The ++ operator can be overloaded to perform decrementation of a variable. B. It is necessary that a constructor in a class should always be public. C. Size of an object is equal to the sum of sizes of data members and member functions within the class. D. A static data member is useful when all objects of a class are to share a common item of information. E. The 'this' pointer always contains the address of the object using which the member function is being called.
- 1A, B, C Only
- 2B, C, E Only
- 3A, D, E Only✓
- 4B, D, E Only
Correct answer
A, D, E Only
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Object Oriented Programming?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Object Oriented Programming