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
Explain the differences between list x; & list x();.
What is an undefined behavior and sequence points
Why is c++ is better than c?
Explain deep copy and a shallow copy?
What do you mean by volatile and mutable keywords used in c++?
How do you add an element to a set in c++?
What is a rooted hierarchy?
Program to check whether a word is a sub-string or not of a string typed
What parameter does the constructor to an ofstream object take?
In a function declaration what does extern means?
Explain the auto storage classes in c++.
Which is the best c++ compiler for beginners?
What is vectorial capacity?
What are the benefits of c++?
Search for: what is pair in c++?