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 |
What is a singleton c++?
What can I use instead of namespace std?
What would happen on forgetting [], while deallocating an array through new?
What are the benefits of operator overloading?
Write an algorithm that determines whether or not an almost complete binary tree is a heap.
Difference between strdup and strcpy?
Which ide is best for c++?
What is while loops?
what is C++ objects?
What is a static member?
What are the advantages of using pointers in a program?
what are the iterator and generic algorithms.