What is the difference between Class and Structure?
Answer Posted / vinod
The difference between a class and a structure is that, by
default, all of the members of a class are private and also private,public and protected but in structure by
default, all of the members of a structure are public.
Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
How many types of comments are there in c++?
What are the differences between malloc() and calloc()?
What does obj stand for?
When we use Abstract Class and when we use Interface?where we will implement in real time?
What do you mean by function overriding & function overloading in c++?
What is the use of this pointer in c++?
How to give an alternate name to a namespace?
Define what is constructor?
What is type of 'this' pointer?
What is the difference between delegation and implemented-in-terms-of?
Write my own zero-argument manipulator that should work same as hex?
What is the main function c++?
daily Routine of father
What is lambda in c++?
What is static class data?