STL (140)
OOPS (873)
C++ General (2409)
Explain the importance of method overloading in C++?
What is rtti in c++?
Define a constructor?
What language is a dll written in?
What is name hiding in c++?
Explain operator overloading.
What is the difference between the functions memmove() and memcpy()?
Which is not a valid keyword a) public b) protected c) guarded
What data encapsulation is in c++?
Why do we need runtime polymorphism in c++?
Can we use pointers in c++?
Must accepts "Maestro Cards" Tax for bike should be less than 15 Total number of lanes is more than 10 Must provides monthly pass Write a method: boolean isGoodTollBridge(String[] cardsAccepted, String[] tollTax, boolean hasMonthlyPass, int numberOfLanes); String[] cardsAccepted A String array of names of card types accepted for payment of toll tax, it can be null if the toll does not accept any card String[] tollTax A String array of toll tax chart (say “Train : 300â€Â,â€ÂBullCart : 10â€Â) boolean hasMonthlyPass This parameter defines whether there is any monthly pass available or not int numberOfLanes This parameter defines the number of lanes for each side
Should you pass exceptions by value or by reference?
What is a terminating character in c++?
Which is better struts or spring?