How to declaring variables in c++?


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

Post New Answer

More C++ General Interview Questions

Explain static and dynamic memory allocation with an example each.

0 Answers  


How is new() different from malloc()?

0 Answers  


Difference between declaration and definition of a variable.

0 Answers  


List the features of oops in c++?

0 Answers  


Describe functional overloading?

6 Answers   HP,






What is the protected keyword used for?

0 Answers  


What are the advantages of using typedef in a program?

0 Answers  


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 will strcmp("Astring", "Astring"); return a) A positive value b) A negative value c) Zero

0 Answers  


What is Destructor in C++?

0 Answers  


Write about the local class and mention its use?

0 Answers  


Explain about vectors in c ++?

0 Answers  


Categories