What is the difference between a structure and a class?

aspguy's Avatar, Join Date: May 2005
Contributor
What is the difference between a structure and a class?
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
The only difference in C++ between struct and class is that struct is default public, whereas class is default private.