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 |
What is destructor example?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
write a program to print * * * * * *
What is object and class in oops?
tel me oops defination in single line
Why is static class not inherited?
What type of Job you are providing?
What is Hashing and how is it done? Pictorial form?
any one please tell me the purpose of operator overloading
what is the sylabus for priliminaries?
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.
1. Wrie a function which returns the most frequent number in a list of integers. Handle the case of more than one number which meets this criterion. public static int[] GetFrequency(int[] list)