Answer Posted / vaibhav darji
copy(): it will copy the structure of data and data also.
clone(): it will copy the structure of data only.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is c++ iterator?
How much is c++ certification?
Explain virtual class?
What is the advantage of c++ over c?
What happens when the extern "c" char func (char*,waste) executes?
What is c++ code?
Write about the local class and mention its use?
Define a constructor - what it is and how it might be called (2 methods)?
Where Malloc(), Calloc(), and realloc() does get memory?
What is the default width for ouputting a long integer using the insertion operator?
Can member functions be private?
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
What do you mean by translation unit?
How is data hiding achieved in c++?
Explain the pure virtual functions?