Difference between Structure and Class in C++?
Answer Posted / ashish raghuvanshi
Basically in C++ structure and class are same but with some
minor diffrences listed below:-
1. In classes all the members by default are private but in
structure members are public by default.
2. There is no term like constructor and destructor for
structs, but for class compiler creates default if you
don't provide.
| Is This Answer Correct ? | 79 Yes | 14 No |
Post New Answer View All Answers
how to use C++?
When did c++ add stl?
What do stl stand for?
What is stl in c++ with example?
To modify an, existing worksheet. What steps are involved for: 1. Inserting and deleting rows and columns. 2. Printing cell formulas 3Jld displayed values 3. Using the page setup command
Is stl part of c++ standard?
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
What is a standard template library (stl)?
What are the symptoms of stl?
Who created stl?
what is template and type convertion
What does stl mean in slang?
Describe how to safeguard a system through acquisition of an antivirus Program and systematic backup.
What is a list in c++ stl?
What is meant by stl in c++?