How the delete operator differs from the delete[]operator?
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 are the basics of classifying different storage types, why?
2 Answers Astergate, Symphony,
Perform addition, multiplication, subtraction of 2-D array using Operator Overloading.
What are the difference between reference variables and pointers in C++?
Differentiate between a template class and class template?
What are c++ files?
How a macro differs from a template?
What doescout<<(0==0) print out a) 0 b) 1 c) Compiler error: Lvalue required
What is difference between n and endl in c++?
Why is main function important?
What are different types of typecasting supported by C++
Name the implicit member functions of a class.