Q. Which of the following statements are correct?
1. Instance members of a class can be accessed only through an object of that class.
2. A class can contain only instance data and instance member function.
3. All objects created from a class will occupy equal number of bytes in memory.
4. A class can contain Friend functions. 5. A class is a blueprint or a template according to which objects are created.

  • (A) 1,3,5
  • (B) 2,4
  • (C) 3,5
  • (D) 2,4,5
πŸ’¬ Discuss
βœ… Correct Answer: (A) 1,3,5

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
289
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
97%
Success Rate