Kizspy | Question: 19
(Choose 1 answer)
FJOVERFLOW.COM
What is the output when the sample code below is executed?
#include <stdio.h>
int main()
int i,j,result=0;
for(i=3;i<=5;i++){
for(j=5;j>i;j--)
result+=j;
printf("%d", result);
return 0;
}
A. 14
B. 15
C. 16
D. 20