What is the error in the code below and how should it be corrected?


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

Post New Answer

More C++ General Interview Questions

Is swift a good first language?

0 Answers  


What is istream and ostream in c++?

0 Answers  


I was a c++ code and was asked to find out the bug in that. The bug was that he declared an object locally in a function and tried to return the pointer to that object. Since the object is local to the function, it no more exists after returning from the function. The pointer, therefore, is invalid outside.

0 Answers  


What is the difference between a copy constructor and an overloaded assignment operator?

4 Answers   Belzabar, Citrix, Microsoft, Wipro,


What is class invariant?

1 Answers  






Can char be a number c++?

0 Answers  


How a new element can be added or pushed in a stack?

0 Answers  


What do you mean by translation unit in c++?

1 Answers  


write a function signature with various number of parameters.

0 Answers  


What is helper in c++?

0 Answers  


How much is size of struct having 1 char & 1 integer?

11 Answers   Persistent,


"How will you merge these two arrays? Write the program Array: A 1 18 22 43 Array: B 3 4 6 20 34 46 55 Output Array: C 1 3 4 6 18 20 22 34 43 46 55"

9 Answers   College School Exams Tests, HCL,


Categories