Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

please correct me . Cos1511/101/3/2018 Question 23 Given the following array dec

ID: 3715517 • Letter: P

Question

please correct me .

Cos1511/101/3/2018 Question 23 Given the following array declaration, what is the value stored in the scores (2] [21 element? int scores [31 13]1, 2, 3): 2. 1 Question 24 You would use 1.scores t01 t0] 3. scores[first) [first] to reference the variable located in the first row, first column of the scores two-dimensional array scores [11 (1] 4. scores [1,11 Question 25 statement will create a two-dimensional array called orders of type int with 2 rows and 3 columns and intialises each element to 0? 1. int orders (2] (3]; 2. int orders [][] = {0}; 3. int orders (312 10): 4 int orders [2)13] 0: Question 26 Which statement will create a 2x2 char array called 1etterswith and initialses each element'x? 1) char letters [ ] [2] - { {X', X'), {X','x,} }; 2. char letters[(2] 12t'x'x' 'x', 'x') 3. char letters[2] x'x', 'x 4. char letters [2] [2] 'x' Question 27 Which statement will create a two-dimensional integer array called scores with 3 rows and 2 columns where each element has the initial value of 100? 1,) int scores (31 [2 2. int scores[)1100) 3. int scores [2] [3] { {100, 100), (100, 100), 4. int scores [3] [2]100; 1.) int scores (3] [2] 100, 1001, (100, 100), (100, 100) ); 1100, 100)

Explanation / Answer

//if you have any query then comment below.please rate the answer

Question 23) 1) 0

Question 24) 1) scores[0][0]  

Question 25) 4) int orders[2][3]

Question 26) 2) char letters[2][2]={{'x','x'},{'x','x'}};

Question 27) int score[3][2]={{100,100},{100,100},{100,100}}