without if else statement can be written ah


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

Post New Answer

More C++ General Interview Questions

Can java be faster than c++?

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,


Which programming language is best?

0 Answers  


What is private public protected in c++?

0 Answers  


what is Loop function? What are different types of Loops?

0 Answers  






What is setbase c++?

0 Answers  


How to get the current position of the file pointer?

0 Answers  


Describe the process of creation and destruction of a derived class object?

0 Answers  


What is Object Oriented programming.what is the difference between C++ and C?

8 Answers   Infosys,


Can we sort map in c++?

0 Answers  


What are different types of typecasting supported by C++

1 Answers   CA,


Write about the role of c++ in the tradeoff of safety vs. Usability?

0 Answers  


Categories