From d5d9a922db8a15857c4c303c302512248086a94b Mon Sep 17 00:00:00 2001 From: zleyyij <75810274+zleyyij@users.noreply.github.com> Date: Tue, 19 Nov 2024 14:25:06 -0700 Subject: [PATCH] vault backup: 2024-11-19 14:25:06 --- .../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 bb3a09a..78dd595 100644 --- a/education/software development/ECE1400/Chapter 17 Exercises.md +++ b/education/software development/ECE1400/Chapter 17 Exercises.md @@ -22,4 +22,10 @@ struct { } d; int e[5]; } f, *p = &f; -``` \ No newline at end of file +``` +> Which of the following statements are legal? + +(a) `p->b = ' ';` +(b) `p->e[3] = 10;` +(c) `(*p).d.a = '*';` +(d) `p->d->c = 20;` \ No newline at end of file