QUESTION 1 Assume array1 and array2 are the names of two arrays. To assign the contents of array2 to array1, you would use the following statement: array1= array2; True False QUESTION 2 Which of the following is a valid C++ array definition for this given array: Array name is payRate and it has 30 elements of double data type. double payrate[29]; double payrate[31]; double payrate[30]: O double payrate(30); QUESTION 3 Array-table 7 17 23 9 11 30 The following code will display all elements of the above array. for (int index=0; index <6; index++) cout << table; True False QUESTION A
question Completion Status: QUESTION 4 Array-table 7 17 23 9 11 30 Which code below will display the elements of the above array in the order 11, 9, 237 O for (int i=5; i>3;-) 30 cout <<table<<" " for (int 1-4;11;-) cout<<table<<"*; for (int i= 3; i < 5; i++) cout <<table<<" cout <<table[5, 4, 3]; QUESTION 5 O Array-table 7 x = table[1] + table[2]: What is the value of x? 0:24 Ⓒ40 09 19 QUESTION 6 Array-table 7 17 17 23 23 9 9 11 11 30
QUESTION 1 Assume array1 and array2 are the names of two arrays. To assign the contents of array2 to array1, you would u
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
QUESTION 1 Assume array1 and array2 are the names of two arrays. To assign the contents of array2 to array1, you would u
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!