Microsoft interview question

Describe the difference between a struct and class.

Interview Answers

Anonymous

23 Jan 2013

A struct cannot be inherited.

Anonymous

17 Feb 2013

In C++ members of a struct are assumed public and members of a class are assumed private