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 4545Post New Tech Mahindra OOPS Interview Questions
hiii.... can any one provide me previous years question paper of hindustan petroleum for instrumentation engineering???
What are the check points we need to consider while performing Database migration (ex: from oracle 8i to 9i)
What is difference between php and html?
Are there any network-specific conditions for using blockchain technology in an organization?
Which type does string inherit from?
How do I make excel 2016 my default in windows 10?
What is Agile Methodology
How many types of insurance companies are there?
How to turn on or off recycle bin for the instance?
Name the asp objects?
What is difference between singleton and static class in c#?
Explain opportunity cost
what is meant by 3rd hormonics ?
What are the differences between throw and throws?
What are the different functions of an operating system?