Question: 7. What is the final output of the program below? int sum=0; for(int i = 0; i <10; i++) { sum = sum+i; if(i==5) {
7. What is the final output of the program below? int sum=0; for(int i = 0; i<10; i++) { sum = sum+i; if(i==5) { goto addition; } addition: printf("%d", sum); A. 5 B. 10 C. 15 D. 55
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
