A

Admin • 833.24K Points
Coach

Q. What is the Difference between struct and class in terms of Access Modifier?

  • (A) By default all the struct members are public while by default class members are protected.
  • (B) By default all the struct members are public while by default class members are private.
  • (C) By default all the struct members are protected while by default class members are private.
  • (D) By default all the struct members are private while by default class members are public.
  • Correct Answer - Option(C)
  • Views: 210
  • Filed under category C++
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.