How to declaring variables in c++?
No Answer is Posted For this Question
Be the First to Post Answer
Explain static and dynamic memory allocation with an example each.
How is new() different from malloc()?
Difference between declaration and definition of a variable.
List the features of oops in c++?
Describe functional overloading?
What is the protected keyword used for?
What are the advantages of using typedef in a program?
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 will strcmp("Astring", "Astring"); return a) A positive value b) A negative value c) Zero
What is Destructor in C++?
Write about the local class and mention its use?
Explain about vectors in c ++?