Click to follow our Afritutor YouTube Channel, subscribe and click notifications and get updates on new learning videos
<=Back
A student wrote the following C language program. Use it to answer the question that follows.
1. #include<stdio.h>
2. main()
3. {
4. int i, sum =0;
5. int num[6] = {30, 40, 60, 10, 25, 38):
6. for (i=0; i<6; i++)
7. {
8.Sum=sum +num[i];
9.if(i==3)
10.break;
11.}
12. printf("%d", sum):
13.}
Interpret the program line by line
 Viewed: 185 times For Better experience and learning,for video answers, after video ends playing, click next question in the questions list!!!
Share in: