Write a program using shift_half( ) function to shift the elements of first half array to second half and vice versa.


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

Post New Answer

More C++ General Interview Questions

What is the difference between while and do while loop?

0 Answers  


What apps are written in c++?

0 Answers  


Write some differences between an external iterator and an internal iterator? Describe the advantage of an external iterator.

0 Answers  


How can a struct in c++ differs from a struct in c?

0 Answers  


What will i and j equal after the code below is executed? Explain your answer.

1 Answers  






Why was c++ created?

0 Answers  


What is the meaning of string in c++?

0 Answers  


You're given an array containing both positive and negative integers and required to find the sub-array with the largest sum (O(N) a la KBL). Write a routine in C for the above.

4 Answers  


Can user-defined object be declared as static data member of another class?

0 Answers  


Will a recursive function without an end condition every quit, in practice a) Compiler-Specific (Some can convert to an infinite loop) b) No c) Yes

0 Answers  


Describe linked list using C++ with an example.

0 Answers  


Write a program to calculate the BMI of a person using the formula BMI = weight/height2.

2 Answers  


Categories