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
Explain the benefits of proper inheritance.
What is jump statement in C++?
Explain Memory Allocation in C/C++ ?
Explain the purpose of the keyword volatile.
What is the main purpose of overloading operators?
List the features of oops in c++?
Explain how we implement exception handling in c++?
Is c++ high level programming language?
What do the keywords volatile and mean mutable?
What language is a dll written in?
What are the stages in the development cycle?
Can we use this pointer inside static member function?
What is flush programming?
Is c++ map a hash table?
How much is c++ certification?