differance between copy & clon



differance between copy & clon..

Answer / 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

More C++ General Interview Questions

What happens when a function throws an exception that was not specified by an exception specification for this function?

1 Answers  


Differentiate between a constructor and a method in C++.

0 Answers   Tech Mahindra,


What new()is different from malloc()?

0 Answers  


What is buffer and example?

0 Answers  


What is Destructor in C++?

0 Answers  






Is map thread safe c++?

0 Answers  


What is the two main roles of operating system?

0 Answers  


What is the function of the keyword ‘volatile’ in C++?

1 Answers  


How can you link a c program with a c function?

0 Answers  


When should we use container classes instead of arrays?

0 Answers  


i want to know how to copy arrary without using any method or function. I have tried the below using System; class e4 { static void Main(string[] args) { int a,b; int[ ] m= new int[5]; int[ ] n= new int[5]; for(a=0;a<=4;a++) { Console.WriteLine("enter any value"); m[a]=Convert.ToInt32(Console.ReadLine()); m[a]=n[a]; } for(b=0;b<=4;b++) { Console.WriteLine(n[b]); } } } but it will give wrong result can anyone solve this problem

1 Answers   Reliance,


What is a binary file? List the merits and demerits of the binary file usagein C++.

0 Answers  


Categories