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 |
What happens when a function throws an exception that was not specified by an exception specification for this function?
Differentiate between a constructor and a method in C++.
What new()is different from malloc()?
What is buffer and example?
What is Destructor in C++?
Is map thread safe c++?
What is the two main roles of operating system?
What is the function of the keyword ‘volatile’ in C++?
How can you link a c program with a c function?
When should we use container classes instead of arrays?
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
What is a binary file? List the merits and demerits of the binary file usagein C++.