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
What's the order in which the local objects are destructed?
Explain virtual class and friend class.
What is general form of pure virtual function? Explain?
Mention the storage classes in c++.
Which is the best c++ compiler?
What are the two types of comments, and how do they differ?
Why c++ is called oop?
What do c++ programmers do?
Explain the uses oof nested class?
Write a C++ Program to check whether a number is prime number or not?
What is prototype in c++ with example?
declare an array of structure where the members of the structure are integer variable float variable integer array char variable access all elements of the structure using dot operator and this pointer operator
Of the numbers 12 23 9 28 which would be at the top of a properly implemented maxheap a) 28 b) 9 c) Any of them could be
Can non-public members of another instance of the class be retrieved by the method of the same class?
Is c++ an oop?