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
Which bit wise operator is suitable for checking whether a particular bit is on or off?
Explain bubble sorting.
What is the difference between struct and class?
Which of the following is evaluated first: a) && b) || c) !
What is c++ stringstream?
how to access grid view row?
What is the copy-and-swap idiom?
What is a storage class used in c++?
What are c++ files?
What is a block in c++?
What are the basic data types used in c++?
What are single and multiple inheritances in c++?
what is C++ exceptional handling?
Why do we use setw in c++?
Can constructor be static in c++?