notes/education/software development/ECE1400/Chapter 14 Exercises.md
2024-11-05 11:33:13 -07:00

17 lines
425 B
Markdown

> **12.** Suppose that the macro `M` has been defined as follows:
```c
#define M 10
```
> Which of the following tests will fail?
```c
// C will fail, because `M` is defined.
#ifndef M
// E will fail, because `M` is defined
#if !defined(M)
```
---
> **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 `<stdio.h>` header.