If int array 10 is an integer array then write the statements-00983
This subjective question is related to the book/course vu cs605 Software EngineeringII. It can also be found in vu cs605 Mid Term Solved Past Paper No. 1.
Question 1: If int array[10]; is an integer array then write the statements which will store values at Fifth and Ninth location of this array,
cin >> array[4];
cout <<"Enter Ninth postion ";
cin >> array[8];
Answer:
cout <<"Enter fifth postion ";cin >> array[4];
cout <<"Enter Ninth postion ";
cin >> array[8];