R

Ram Sharma • 193.86K Points
Coach

Q. Which of the following is correct about class and structure?

  • (A) class data members are private by default while that of structure are public by default.
  • (B) Pointer to structure or classes cannot be declared.
  • (C) class data members are public by default while that of structure are private.
  • (D) class can have member functions while structure cannot.
  • Correct Answer - Option(A)
  • Views: 112
  • Filed under category C++

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.


Question analytics