ARRAYS number of rows and 3 5 4 7 2 1 marks 0 3 8 9 2 6 Based on the above diagram: 2.1 Declare and initialize two-dimen
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
ARRAYS number of rows and 3 5 4 7 2 1 marks 0 3 8 9 2 6 Based on the above diagram: 2.1 Declare and initialize two-dimen
Question 1 A. int marks[10]; B. int box[4][3]; 1.1 Draw a diagram for A and B. Answer: 1.2 Based on the given B, there are Question 2 number of columns.
ARRAYS number of rows and 3 5 4 7 2 1 marks 0 3 8 9 2 6 Based on the above diagram: 2.1 Declare and initialize two-dimensional array marks. 2.2 Display all values of the second row. 2.3 Display all values of the third column. 2.4 Write a coding to find the value of 6. Display "not found" if the value is not found. 2.5. What is actual parameter. Explain. 2.6 What is formal parameter. Explain. 2.7 Write a function named sendArray(). The function receives two-dimensional array and its column as a parameter. Display the value of all arrays. Change all values to 0 and display the latest values in the main function.