What is the difference between Class and Structure?
Answer Posted / amit
strucuter member function and variable are by defualt
public and class member varible and funtion are by defualt
private.
sructure can not inherited but class can .
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Explain the concept of dynamic allocation of memory?
What is the benefit of encapsulation?
What is void pointer in c++ with example?
Is it legal in c++ to overload operator++ so that it decrements a value in your class?
Are there interfaces in c++?
How is c++ used in the real world?
Will a catch statement catch a derived exception if it is looking for the base class?
Can a program run without main?
How many characters are recognized by ANSI C++?
What are the methods of exporting a function from a dll?
How the delete operator differs from the delete[]operator?
Explain virtual class?
Please explain the reference variable in c++?
What is the difference between the indirection operator and the address of oper-ator?
Can a constructor return a value?