What is the difference between Class and Structure?
Answer Posted / ali abbas khan
structure is contain data member and class is contain member function
structure have by default public and class have by default privat
structure can't have inheritance and class can have inheritance
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
How do you establish a has-a relationship?
What does flush do c++?
Differentiate between a copy constructor and an overloaded assignment operator.
Does c++ cost money?
Why is swift so fast?
What does I ++ mean in c++?
what are the iterator and generic algorithms.
What is the function of I/O library in C++ ?
How do you establish an is-a relationship?
What is the object serialization?
Write a program in C++ for Fibonacci series
Is it possible to provide special behavior for one instance of a template but not for other instances?
What is void pointer in c++ with example?
What is encapsulation in c++?
What are the storage qualifiers?