notes/education/software development/ECE1400/Chapter 11 Exercises.md

8 lines
246 B
Markdown
Raw Normal View History

2024-11-01 19:18:59 +00:00
> 1. If `i` is a variable and `p` points to `i`, which of the following expressions are aliases for `i`?
2024-10-25 19:51:54 +00:00
2024-11-01 19:18:59 +00:00
a. `*p`
g. `*&i`
2024-10-25 20:06:54 +00:00
2024-11-01 19:18:59 +00:00
> 2. If `i` is an `int` variable and `p` and `q` are pointers to `int`, which of the following assignments are legal?
a.