What is the difference between class and structure?
Answer Posted / konankiswetha
class is a slow access because of heap memory. But struct
is a faster in access because of stack memory.
values are initialize at the time of declaration in class
but not in struct.
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What is the main feature of oop?
Is react oop?
Can we have inheritance without polymorphism?
What causes polymorphism?
How oops is better than procedural?
2. Give the different notations for the class.\
What is the example of polymorphism?
Can we define a class within the interface?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< What does and I oop and sksksk mean? what is the drawback of classical methods in oops? which feature are not hold visual basic of oop? Can destructor be overloaded? Why is static class not inherited? How to use CMutex, CSemaphore in VC++ MFC