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 3694Post New Tech Mahindra OOPS Interview Questions
Explain the Aesthetic and Moral values of Science
What is the anhydride of n2o5?
How you run your Rails Application without creating database ?
What are the applications of a csi?
How do I show gridlines in word 2016?
How would you go about developing a ssrs report?
What is the function of WMLScript Control Statements?
How do you merge two spreadsheets and delete duplicates?
Give me example of derived data types.
What does sas stand out to be the best over other data analytics tools?
What is left join example?
Why do businesses prepare financial statements?
How many people have left in the last year?
What is getelementbyid?
What is the problem of ordered sequential files access?