What is the difference between a class and a structure in C++?
Answer / nashiinformaticssolutions
With the exception of member variables and methods' default accessibility setting, class and structure (or struct) are essentially the same in C++. They are configured as public in a structure and private in a class.
| Is This Answer Correct ? | 0 Yes | 0 No |
Is there anything you can do in C++ that you cannot do in C?
When should we use container classes instead of arrays?
How the virtual functions maintain the call up?
Is c++ the best programming language?
What is the outcome of cout< a) 16 b) 17 c) 16.5
difference between the c++ and c languages
What is an explicit constructor?
What is an iterator class in c++?
What is time h in c++?
What return value must conversion operators have in their declaration?
Explain "const" reference arguments in function?
What are the uses of c++ in the real world?