From 5c37c59fa81b9b0692a2e9839a41aba36c309b13 Mon Sep 17 00:00:00 2001 From: zleyyij <75810274+zleyyij@users.noreply.github.com> Date: Tue, 5 Nov 2024 11:38:30 -0700 Subject: [PATCH] vault backup: 2024-11-05 11:38:30 --- .../ECE1400/Chapter 14 Exercises.md | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/education/software development/ECE1400/Chapter 14 Exercises.md b/education/software development/ECE1400/Chapter 14 Exercises.md index 194bfa9..89d7817 100644 --- a/education/software development/ECE1400/Chapter 14 Exercises.md +++ b/education/software development/ECE1400/Chapter 14 Exercises.md @@ -14,3 +14,26 @@ --- > **13.** Show what the following program will look like after preprocessing. You may ignore any lines added to the program as a result of including the `` header. + +```c +#include + +int main(void) +{ + f(); + +} + + void f(void) { + printf("N is %d\n", 100); + } +``` + +--- + +> **15.** Suppose that a program needs to display messages in either English, French, or Spanish. Using conditional compilation, write a program fragment that displays one of the following three messages, depending on whether or not the specified macro is defined. + +```c + + +``` \ No newline at end of file