What are the differences between a struct and a class in
C++?
Answer Posted / ramesh kasi
The only difference is related to the default access
specifier.
The members of a structure have public access by default.
The members of a calss have private access by default.
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What are abstract data types in c++?
How would perform Pattern Matching in C++?
Is turbo c++ free?
Is it possible to have a recursive inline function in c++?
What is a down cast?
What do you mean by function pointer?
Give 10 points of differences between C & C++.
an operation between an integer and real always yeilds a) integer result b) real result c) float result
Is string an object in c++?
Explain rtti.
What is the role of C++ shorthand's?
Describe private, protected and public?
What is std namespace in c++?
Who made c++?
What is runtime errors c++?