πŸ“Š C++
Q. Which of the following statements is correct in C++?
  • (A) Structure members are private by default.
  • (B) Class members are public by default.
  • (C) Structures can have functions as members.
  • (D) Classes cannot have data as protected members.
πŸ’¬ Discuss
βœ… Correct Answer: (C) Structures can have functions as members.

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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