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