Want a Free Job Posting?

Buy a job posting today and the second one is on us. For a limited time only. Act Now.

Interview Question


What is the difference between a struct and a class?


Interview Answer

1 Answer


This is a nasty question. Mainly struct and class are the same. The difference is for struct members are in public by default while for a class members are private by default.

Xiaoge Su on Jul 15, 2013

Add Answers or Comments

To comment on this, Sign In or Sign Up.