OOPS Differences between class and struct?

0 votes
39 views
asked Dec 17, 2013 in C++ by tyro
Hi all

  OOPS Differences between class and struct?

1 Answer

0 votes
answered Dec 17, 2013 by Ali Nawkhas Murad

There is no difference between class and struct, except the members of class are private by default and those of struct are public by default. What you can do with a class you can do with a struct.

...