What are the advantages of using pointers in a program?
No Answer is Posted For this Question
Be the First to Post Answer
Do you know the problem with overriding functions?
What is meaning of in c++?
What is #include iostream h in c++?
How many types of comments are there in c++?
What are the steps in the development cycle?
If dog is a friend of boy, is boy a friend of dog?
Why are arrays usually processed with for loop?
Explain the difference between 'operator new' and the 'new' operator?
why we cant create array of refrences
What are pointer-to-members in C++? Give their syntax.
What is a storage class used in 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