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

Explain the pure virtual functions?

0 Answers  


What is pointer with example?

0 Answers  


What are the basics concepts of OOPS?

1 Answers  


A milk carton can hold 3.78 litres of milk. Each morning, a dairy farm ships cartons of milk to a local grocery store. The cost of producing one litre of milk is $0.38, and the profit of each carton of milk is $0.27. Write a C++ program that prompts the user to enter the total amount of milk produced in the morning. Then display the number of milk cartons needed to hold milk, the cost of producing milk, and the profit for producing milk.

2 Answers  


Are there any new intrinsic (built-in) data types?

1 Answers  






Which compiler does turbo c++ use?

0 Answers  


What is difference between c++ and c ++ 14?

0 Answers  


what are the iterator and generic algorithms.

0 Answers  


Can a constructor be private?

0 Answers  


What is a container class?

0 Answers  


What is virtual table?

0 Answers  


What will happen if I allocate memory using "new" and free it using "free" or allocate sing "calloc" and free it using "delete"?

3 Answers  


Categories