Microsoft Interview Question: Describe the difference betwe... | Glassdoor

Interview Question

Associate Consultant Interview Redmond, WA

Describe the difference between a struct and class.

Tags:
technical
Answer

Interview Answer

2 Answers

0

A struct cannot be inherited.

Interview Candidate on Jan 22, 2013
0

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

Anonymous on Feb 17, 2013

Add Answers or Comments

To comment on this, Sign In or Sign Up.