Answer Posted / nutan
pls refer
http://objectmix.com/c/34028-difference-between-new-operator-new.html
Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
How can you overcome the diamond problem in inheritance?
What is property in oops?
What is an interface in oop?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is the difference between inheritance and polymorphism?
given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy
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
any one please tell me the purpose of operator overloading
What is the purpose of polymorphism?
Why do we need polymorphism in c#?
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
What is object in oops?
write a C++ program for booking using constructor and destructor.
What is meant by multiple inheritance?
Can a destructor be called directly?