What is the difference between Class and Structure?
Answer Posted / vadivel
i. Structure are value type where as class are reference
type.
ii. Structure are default public where as class are default
private.
iii. 'this' pointer will work only in class.
Is This Answer Correct ? | 395 Yes | 78 No |
Post New Answer View All Answers
What do you mean by enumerated data type?
Explain the static storage classes in c++.
Should I learn c or c++ or c#?
How would perform Pattern Matching in C++?
Define a constructor - what it is and how it might be called (2 methods)?
What are 2 ways of exporting a function from a dll?
What operators can you overload in c++?
List the special characteristics of constructor.
What are stacks? Give an example where they are useful.
What is object file? How can you access object file?
What does catch(…) mean?
Is it possible for a member function to use delete this?
What is a string example?
What is a storage class used in c++?
Can we define function inside main in c++?