Csit Notes

Trace the output: #include <stdio.h> void main() { int i=0, k; for (k=5; k>=0; k--) { i=i+k; printf("%d ", i); } } (5)

  • CSC115
  • Core Course
  • Question 9 · 2080 B.S.

Trace the output: #include <stdio.h> void main() { int i=0, k; for (k=5; k>=0; k--) { i=i+k; printf("%d ", i); } } (5)

Answer

The verified answer for this question is being prepared. Meanwhile, the chapter notes cover this topic, and you can contribute your own solution.