When is a memory allocated to a class?
Answers were Sorted based on User's Feedback
Answer / pushpankar mishra
i woould like to clear one thing that object and instance
are two sligthly differnt things
int a; // 'a 'is instance
a=20;//'a' is a object
eg:object+instance
|
int a=20// object + instance;;
| Is This Answer Correct ? | 3 Yes | 4 No |
When not to use object oriented programming?
i ahve v low % in 12th n BSC which is aroun 50 coz science was imposed on me......nw m doin MCA n my aggregate in above 74%,what shud i say if asked about low previous percentage??????
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
What is this interview room ? Is it a class or an object.
WAP to generate 2n+1 lines of the following pattern on the computer screen:
The type of variable a pointer points to must be the part of pointer's definition so that:
What is encapsulation in oop?
what is difference between class template and template class?
write a c++ program to find maximum of two numbers using inline functions.
How Do you Code Composition and Aggregation in C++ ?
What is command routing in MFC
What is deep and shalow copy?