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
How do you find out if a linked-list has an end? (I.e. The list is not a cycle)
What relational operators if statements in c++?
What is problem with overriding functions?
What is endl?
Is python written in c or c++?
What is basic if statement syntax?
What is a list c++?
How a new operator differs from the operator new?
What are the steps in the development cycle?
What will the line of code below print out and why?
Explain the concept of memory leak?
Is c++ fully object oriented?
Define the operators that can be used with a pointer.
In inline " expression passed as argument are evalauated once " while in macro "in some cases expression passed as argument are evaluated more than once " --> i am not getting it plz help to make me understand....
Difference between delete and free.