Possible Duplicate:
What are the differences between struct and class in C++
The keyword class and struct are almost equivalent in c++, only difference between a structure and a class is that structure members have public access by default and class members have private access by default.
Is there any advantage (memory usage, speed, optimization etc) in using keyword struct instead of class when all member variables of a class are required to have public access.
Edit:
I appreciate everyone and SRN for pointing the other link I was asking if any know any memory usage, speed difference. Please read the question carefully before giving negative points.