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 4450Post New Tech Mahindra OOPS Interview Questions
1.what promted you to become involved in QA/Testing?
Define transfer () with syntax?
What is error excel?
What is Discovery service and purpose of it?
How do I reduce font size in visual studio?
What is @required annotation in spring?
What is internal database?
What is amqp used for?
Using the paid & organic report for her travel website, karen noticed a relatively high organic clicks/query rate for the search query hawaii vacations. What does this mean?
What are sprites and why they are recommended?
During Testing of Maintenance Free Earthing, How deep should be the Spikes of Earth Test Meter should be inserted in the soil(one spike is 15 Meter & Other spike is 30 Mtrs away from the Main Earth Electrode. Because, recently, we observed that when spike is inserted 3-4 Inch in the earth- results are better, If spike is inserted 1 feet deep than results are increasing.
What are the ways in which replication agreements between directory structures be arranged?
Explain about restful architecture?
How is python an interpreted language?
What are the steps involved in quality control for exports.