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 |
Which of the Standard C++ casts can be used to perform a ?safe? downcast: a) reinterpret_cast b) dynamic_cast c) static_cast d) const_cast
Can I learn c++ without learning c?
What are the advantages of early binding?
What are the operators in c++?
Explain differences between new() and delete()?
Describe functional overloading?
Why is that unsafe to deal locate the memory using free( ) if it has been allocated using new?
Function can be overloaded based on the parameter which is a value or a reference. Explain if the statement is true.
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create
What is class in c++ with example?
Does c++ cost money?
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