C CSE Define an array according to the following description
C++ CSE
Define an array according to the following description [0.5pt each] Define an array called payRate that will hold 25 double values Define an array called cse 100 classRoster that will hold 70 strings representing students\' names Define and initialize an array called oddNum that holds all odd number from 1 to 11. Define and initialize an array called alpha that will hold 8 characters with the value \'J\', \'B\', \'L\', \'A\', \'*\', \'S\', \'H\' and \'M\' Which of the following array initialization is invalid? An array of 10 integers named my Array can have its contents displayed with which of the following statements? You can assign the contents of one array to another by using the assignment operator the equality operator both array names any of the above none of the above What is the output of the following code? Use the following variable declaration for the following questions; Write an assignment statement that will store the number 85 as the seventh element in the array referenced by scores. Remember that arrays begin with location 0. Write a statement that will display to the screen the fifth element stored in the array referenced by scores. Write a for loop that will add 5 to each element in the array referenced by scoresSolution
1)
2) 4 too many initializations
3) A-> if all the contents displayed
B-> if any one can be diaplayed
C-> run time error as more than index
D-> run time error
4) E -> Since a loop is assigned for the elements of one array to the other array
5) 1 18 18
2 4 8
3 27 81
4 52 204
5 100 500
6)
scores[i]=scores[i]+5;
![C++ CSE Define an array according to the following description [0.5pt each] Define an array called payRate that will hold 25 double values Define an array calle C++ CSE Define an array according to the following description [0.5pt each] Define an array called payRate that will hold 25 double values Define an array calle](/WebImages/9/c-cse-define-an-array-according-to-the-following-description-997982-1761513802-0.webp)
