Q.No.3 Write the following program and execute it. What output does the program display? Expand the shorthand form of expression sum += i-- to show what it actually represents. State the total number of iterations made by the “for loop”? (10 Marks)
int main() {
int count=10;
int sum=0;
for(int i=count; i >= 0; sum += i--);
cout>>sum;
return 0; }
Answers
Answered by
0
Answer:
I can not know this Questionanswer
Similar questions
Environmental Sciences,
1 month ago
English,
1 month ago
Computer Science,
2 months ago
English,
10 months ago