iDirect interview question

1. what is the difference between structures and classes in cpp

Interview Answer

Anonymous

18 Nov 2010

there is no difference except classes have all its members and functions as private by default whereas structures have its data public by default.