What is the difference between Class and Structure?
Answer Posted / rakesh kumar
structure can not be declare privately but class can be
declared public as well as private.In structure data member
and member function are public by default and in class
these are private by default
| Is This Answer Correct ? | 59 Yes | 39 No |
Post New Answer View All Answers
What does it mean to declare a destructor as static?
What is the use of vtable?
How important is c++?
What are the advantages of c++? Explain
What is the first name of c++?
What is the function of I/O library in C++ ?
Write a note about the virtual member function?
If you want to share several functions or variables in several files maitaining the consistency how would you share it?
Why is it necessary to use a reference in the argument to the copy constructor?
What are associate containers?
Who calls main function?
What is the latest c++ standard?
What are c++ data types?
Arrange Doubly linked list in the ascending order of its integral value and replace integer 5 with 7?
What is unary operator? List out the different operators involved in the unary operator.