What is the difference between Class and Structure?
Answer Posted / ravi kumar jain
The difference between a class and a structure is that, by
default, all of the members of a class are private and, by
default, all of the members of a structure are public.The
difference between a class and a structure is that, by
default, all of the members of a class are private and, by
default, all of the members of a structure are public.
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What information can an exception contain?
Is nan a c++?
What is flush programming?
Explain how the virtual base class is different from the conventional base classes of the opps.
What kind of problems can be solved by a namespace?
Is there finally in c++?
Why c++ is better than c language?
Write a c program for binary addition of two 8 bit numbers.
What are the advantages of using typedef in a program?
what are the iterator and generic algorithms.
Define basic type of variable used for a different condition in C++?
Is it possible to provide default values while overloading a binary operator?
Explain the virtual inheritance in c++.
Give 10 points of differences between C & C++.
Should I learn c or c++ first?