What is the use of "new" operator?
No Answer is Posted For this Question
Be the First to Post Answer
Can recursive program be written in C++?
What is c++ vb?
What is the difference between the parameter to a template and the parameter to a function?
What is the use of typedef?
Which software is used to run c++ program?
When do we run a shell in the unix system? How will you tell which shell you are running?
Explain static and dynamic memory allocation with an example each.
What is class syntax c++?
When must you use a pointer rather than a reference?
What is stack unwinding?
Explain about templates of C++.
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