[solved]-Arrays Output Following Program Void Main 5 10 20 30 40 50 B 5 98 7 6 5 C 5 0 5 C B 0 5 Pr Q39020457
![(Arrays) What is the output of the following program. void main() A[5] = {10, 20, 30, 40, 50), B[5] = {9.8,7,6,5}, C[5], i fo](https://media.cheggcdn.com/media/53f/s472x405/53f34dda-ae7d-40fd-b6bf-79802ee10224/phphW658U.png)
(Arrays) What is the output of the following program. void main() A[5] = {10, 20, 30, 40, 50), B[5] = {9.8,7,6,5}, C[5], i for (i = 0; i < 5; i++) C[i] = A[i] +B[i]; for (i = 0; i < 5; i++) printf(” C[ %d] =%d”. i, C[i]); C[0] = A[O] – B[0]; C[1] = A[2] – B[3]; C[2] = 103; for (i = 0; i<5; i++) printf(” C[%d] =%d”. 1, C[i]); Show transcribed image text (Arrays) What is the output of the following program. void main() A[5] = {10, 20, 30, 40, 50), B[5] = {9.8,7,6,5}, C[5], i for (i = 0; i
Expert Answer
Answer to (Arrays) What is the output of the following program. void main() A[5] = {10, 20, 30, 40, 50), B[5] = {9.8,7,6,5}, C[5],… . . .
OR

