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

Should you pass exceptions by value or by reference?

783


What is the role of static keyword for a class member variable?

727


What is the use of endl in c++ give an example?

717


In a function declaration what does extern means?

685


Is eclipse good for c++?

623






What are containers in c++?

653


Which software is used to run c++ program?

625


What is virtual function? Explain with an example

673


Can I learn c++ in a week?

672


Is it possible to use a new for the reallocation of pointers ?

680


Explain overriding.

681


What is the use of bit fields in structure declaration?

628


What is the last index number in an array of 100 characters a) 100 b) 99 c) 101

688


What are the types of pointer?

644


Can you please explain the difference between static and dynamic binding of functions?

648