current position:Home>C language two-dimensional array, for interpretation

C language two-dimensional array, for interpretation

2022-02-02 16:59:42 CSDN Q & A

img




Refer to the answer 1:

18
Two dimensional array 3*3 Each line provides only the first 2 It's worth , The third default 0
1 2 0
3 4 0
5 6 0

Don't look at it first 1 Start the cycle , Assuming that the 0 Start the cycle , Is o " Column number <= Line number " Which contains 1-4-0 The sum of the numbers on the lower left of the inner diagonal
1+3+4+5+6.
Remove row 0 Of 1 answer 18




Refer to the answer 2:

copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.
https://en.primo.wiki/2022/02/202202021659404212.html

Random recommended