what is the difference between class and structure in C++?
Answer Posted / renuka
IN CLASS WE USE BOTH VARIABLE AND FUNCTION OR IN STRUCTURE WE USE VARIABLE ONLY....
| Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
What is byval and byref? What are differences between them?
Why interface is used?
What are two types of polymorphism?
How can you overcome the diamond problem in inheritance?
Can we create object of interface?
What is inheritance and how many types of inheritance?
What are the 4 main oop principles?
What is overloading and its types?
What is and I oop mean?
How to hide the base class functionality in Inheritance?
What are benefits of oop?
How do you define a class in oop?
What is pointer in oop?
What is overriding in oop?