How the delete operator differs from the delete[]operator?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

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

1 Answers   Reliance,


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.

0 Answers   Nucleus, TCS,


What are the difference between reference variables and pointers in C++?

1 Answers  


Differentiate between a template class and class template?

1 Answers  


What are c++ files?

0 Answers  


How a macro differs from a template?

0 Answers  


What doescout<<(0==0) print out a) 0 b) 1 c) Compiler error: Lvalue required

0 Answers  


What is difference between n and endl in c++?

0 Answers  


Why is main function important?

0 Answers  


What are different types of typecasting supported by C++

1 Answers   CA,


Name the implicit member functions of a class.

0 Answers  


Categories