differance between copy & clon

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


Please Help Members By Posting Answers For Below Questions

what are the events occur in intr activated on interrupt vector table

1176


How do you write a function that can reverse a linked-list?

572


Is c++ a difficult language?

572


If dog is a friend of boy, and terrier derives from dog, is terrier a friend of boy?

611


What new()is different from malloc()?

567






What kind of jobs can I get with c++?

591


How is computer programming useful in real life?

594


Do you know what is overriding?

615


What is the meaning of string in c++?

568


If you want to share several functions or variables in several files maitaining the consistency how would you share it?

550


How does atoi function work?

620


Am studying basic c++ programming, have been given the following assignment. Design a linear program to calculate the maximum stress a material can withstand given a force and a diameter of a circle. To find the required area pi should be defined. Have most of the program sorted out but am at a loss as to how to show the calculations required. Can anyone help?

1734


What does std :: flush do?

680


What is enum c++?

614


What are the two types of comments?

570