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
What is hidden text?
What if I do not provide the string array as the argument to the method?
how to acces the remote mechine using vb cript(QTP)
What is the use of process flow analyzer in sap tao?
What type of literals does swift language have?
How the code in popup card number(SIM recharge card number) will be unique?How they designed?What is the formula?Please answer me?
Execute the qsort () in c/sort() in c++ library or your own custom sort which will sort any type of data on user defined criteria.
What is RSAREF?
what is the cost of rcc roof casting of 400 sq. ft. in kolkata
Which option would you choose for installed website metadata?
Explain the function of entry-sequenced data set?
Explain ceci transaction commands?
Can DeCypher be used for protein struc-ture modeling?
Which tag contains the cell tags?
How does cd command work?