From 22548282c37a404532c6e1a55eb9ebb1aec99fb5 Mon Sep 17 00:00:00 2001 From: zleyyij <75810274+zleyyij@users.noreply.github.com> Date: Fri, 25 Oct 2024 13:51:54 -0600 Subject: [PATCH] vault backup: 2024-10-25 13:51:54 --- .../ECE1400/Chapter 11 Exercises.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/education/software development/ECE1400/Chapter 11 Exercises.md b/education/software development/ECE1400/Chapter 11 Exercises.md index 23036a8..2e89c91 100644 --- a/education/software development/ECE1400/Chapter 11 Exercises.md +++ b/education/software development/ECE1400/Chapter 11 Exercises.md @@ -1,4 +1,12 @@ 1. Suppose that the following declarations are in effect:.... a. `14` b. `34` - \ No newline at end of file + c. `4` + d. `true` + e. `false` + +2. Suppose that `high`, `low`, and `middle` are all pointer variables of the same type, and the `low` and `high` point to elements of an array. Why is the following statement illegal, and how could it be fixed? +```c +middle = (low + high) / 2 +``` +The above statement is illegal because \ No newline at end of file