Question:
(a) Write short notes on arrays. Extend your answer by putting emphasis on memory allocation.
(b) Write a C++ program to input an integer n followed by n real-numbers into an array A of size 10 and display the maximum value stored as well as the position where it is stored in the array.
(c) Discuss two advantages of using cin.getline over cin only during the capturing of characters from a keyboard.
(d) Explain the use of functions in C++ programs.
(e) State three advantages of using recursive functions.