diff --git a/education/software development/ECE1400/Chapter 6 Exercises.md b/education/software development/ECE1400/Chapter 6 Exercises.md index bfb78fc..3c141b4 100644 --- a/education/software development/ECE1400/Chapter 6 Exercises.md +++ b/education/software development/ECE1400/Chapter 6 Exercises.md @@ -30,4 +30,14 @@ Output: ```c for (i = 5, j = i - 1; i > 0, j > 0; --i, j = i - 1) printf("%d ", i); +``` + +Output: +``` +5 4 3 2 +``` + +> 4. Which one of the following statements is not equivalent to the other two (assuming that the loop bodies are the same?) +```c +(a) for (i = 0; i < 10) ``` \ No newline at end of file