From 86ecc96c92e2ff900cbe2869beb545fa03231c9e Mon Sep 17 00:00:00 2001 From: zleyyij <75810274+zleyyij@users.noreply.github.com> Date: Sun, 10 Nov 2024 20:51:05 -0700 Subject: [PATCH] vault backup: 2024-11-10 20:51:05 --- .../ECE1400/Chapter 15 Exercises.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/education/software development/ECE1400/Chapter 15 Exercises.md b/education/software development/ECE1400/Chapter 15 Exercises.md index ad32e50..3675fc5 100644 --- a/education/software development/ECE1400/Chapter 15 Exercises.md +++ b/education/software development/ECE1400/Chapter 15 Exercises.md @@ -19,6 +19,11 @@ Yes, `""` is a path relative to the current file, whereas `<>` is a path to the > **4.** Assume that `debug.h` is a header file with the following contents... >(a). What is the output when the program is executed? ``` -Output if DEBUG is defined:\n -Value of " #n" -``` \ No newline at end of file +Output if DEBUG is defined: +Value of i: 1 +Value of j: 2 +Value of i + j: 3 +Value of 2 * i + j - k: 1 +``` +> (b). What is the output if the `#define` directive is removed from `testdebug.c`? +> \ No newline at end of file