Differentiate between structure and class in C++.

  • Sharad Jaiswal
  • 22nd Feb, 2018

1 answer(s) :

  •   Reply

    Robert Bottorff

    19th Oct, 2018

    The only difference between a struct and class is that a struct's members default public, and a class defaults private. There is no other technical difference.

Post your Answer :

Valid name is required.

Valid name is required.

Valid email id is required.