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
What is the fastest c++ compiler?
What is lazy initialization in c++?
What is one dimensional array in c++?
How does work in c++?
Differentiate between an inspector and a mutator ?
What is enum class in c++?
What is an adaptor class in c++?
What is the history of c++?
Explain the difference between overloading and overriding?
Is recursion allowed in inline functions?
How java is different from c and c++?
What things would you remember while making an interface?
What are c++ storage classes?
What is the difference between the functions memmove() and memcpy()?
Difference between overloading vs. Overriding