πŸ“Š C++
Q. Which of the following statements are true in c++?
  • (A) Classes cannot have data as public members.
  • (B) Structures cannot have functions as members.
  • (C) Structures cannot have functions as members.
  • (D) None of these.
πŸ’¬ Discuss
βœ… Correct Answer: (B) Structures cannot have functions as members.

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
113
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Priyanka Tomar
Publisher
πŸ“ˆ
91%
Success Rate