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 4532Post New Tech Mahindra OOPS Interview Questions
What are the new features implemented in ASP.NET?
Is javascript harder than c#?
What does executeupdate return in jdbc?
Is geany a good ide?
How can I create database in oracle?
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
What are the tools and techniques used in the Initiation process? A. Project selection criteria, historical information, expert judgment B. Project selection methods, historical information, expert judgment C. Project selection criteria, expert judgment D. Project selection methods, expert judgment
is there an aix version of oorexx?
Mention what is the difference between a gem and a plugin in ruby?
How Python performs Compile-time and Run-time code checking?
What is nine-patch images tool in android?
Which access specifier can be used with class ?
what is the Property used to add a menus at runtime?
What is the use of purchase info record?
Why do users care about your product or service? - Venture Capitalists