1.explicit call for destructor 2.calling function inside a constructor. 3.base *b-new derived delete b; 4.delete p what it will delete. 5.size of base class and derived class int i,in base class and int j in derived. 6.int i-20 int main() { int i =5; printf("%d".::i); { int i =10; printf("%d".::i); } } 7.object slicing 8.new 9.function overloading(return type). 10.class base() { virtuval fun() { ----- } } class derivied:public base() { fun() { ----- } } int main() { derived d; } 11.how static function will call in C++? 12.default structures are in C++? 13.constructors should be in public . 14.virtuval constructor not exist. 15.multilevel inhritence. destructor order.
1 4528Post New Tech Mahindra OOPS Interview Questions
How do you open .db files?
What is validation and verification in software testing?
What do you mean by stored procedures? How do we use it?
What is service heroservice?
Differentiate between datastage and informatica?
What are the views available in qtp?
What is indexed view? How to create it?
What is a proxy class?
How can observable objects be defined as?
how to find the L shape surface of the moment of inertia and section modulus.
How do you create a child theme?
does a DG set has low fault level as compared to that of a transformer.If yes then why.
What two statements are required in an abap program to output an icon using a write statement?
Is linux is virus free?
how do I identify the network interfaces on my server?