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 4607Post New Tech Mahindra OOPS Interview Questions
Whether jQuery HTML work for both HTML and XML documents?
Explain what is dot notation?
What is event flow in term of event handling in flash action script 3.0?
What are the four elements of layout?
What is a trait in php?
What is advice?
What is the key difference between java and python?
What is a stream in java?
Difference between redhat linux and redhat enterprise linux rhel?
How do you declare a user-defined exception?
what type of applications can be developed using silverlight?
Does spring boot use tomcat? : Spring Boot
List out the Types of Activities?
How can I alphabetize in word?
what is difference between usfda and mhra guidline