What is the difference between Class and Structure?
Answer Posted / ali abbas khan
structure is contain data member and class is contain member function
structure have by default public and class have by default privat
structure can't have inheritance and class can have inheritance
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Why is that unsafe to deal locate the memory using free( ) if it has been allocated using new?
How do you write a function that can reverse a linked-list?
What is implicit conversion/coercion in c++?
When are exception objects created?
What is the identity function in c++? How is it useful?
Define a conversion constructor?
What are the effects after calling the delete this operator ?
Explain one-definition rule (odr).
Write a Program to find the largest of 4 no using macros.
What is a manipulator in c++?
What is the difference between structure and class?
What is abstraction in c++?
What does the following do: for(;;) ; a) Illegal b) Loops forever c) Ignored by compiler...not illegal
Explain how we implement exception handling in c++?
Can a program run without main function?