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 is object file? How can you access object file?
If you don’t declare a return value, what type of return value is assumed?
How to get the current position of the file pointer?
What does ios :: app do in c++?
What is a storage class used in c++?
What is namespace std; and what is consists of?
What kind of jobs can I get with c++?
What happens when you make call 'delete this;'?
What is auto used for in c++?
Arrange Doubly linked list in the ascending order of its integral value and replace integer 5 with 7?
Explain how an exception handler is defined and invoked in a Program.
Is it possible for a member function to delete the pointer, named this?
What is c++ redistributable?
What is the difference between while and do while loop?
Can a program run without main in c++?