From 59395f8e1c2c3a39f26d479a73174c5354c503da Mon Sep 17 00:00:00 2001 From: zleyyij <75810274+zleyyij@users.noreply.github.com> Date: Tue, 19 Nov 2024 21:31:02 -0700 Subject: [PATCH] vault backup: 2024-11-19 21:31:02 --- .../software development/ECE1400/Chapter 17 Exercises.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/education/software development/ECE1400/Chapter 17 Exercises.md b/education/software development/ECE1400/Chapter 17 Exercises.md index b1295c5..16325d9 100644 --- a/education/software development/ECE1400/Chapter 17 Exercises.md +++ b/education/software development/ECE1400/Chapter 17 Exercises.md @@ -52,4 +52,10 @@ while (p != NULL) { --- -> **9.** True or false: If `x` is a structure and `a` is a member of that structure, then `(&x)->a` is the same as `x.a`. Justify your answer \ No newline at end of file +> **9.** True or false: If `x` is a structure and `a` is a member of that structure, then `(&x)->a` is the same as `x.a`. Justify your answer. + +**True**: The arrow operator is used to access a member of a struct through a pointer. `(&x)` creates a pointer to the `x` struct, therefore the arrow operator can be used to access fields on `x`. + +--- + +> **13.** \ No newline at end of file