From 5484db6823fb1d31b638cfef5cd80204ac3fe029 Mon Sep 17 00:00:00 2001 From: zleyyij <75810274+zleyyij@users.noreply.github.com> Date: Tue, 19 Nov 2024 14:15:06 -0700 Subject: [PATCH] vault backup: 2024-11-19 14:15:06 --- .../software development/ECE1400/Chapter 17 Exercises.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/education/software development/ECE1400/Chapter 17 Exercises.md b/education/software development/ECE1400/Chapter 17 Exercises.md index 9f71533..c970b07 100644 --- a/education/software development/ECE1400/Chapter 17 Exercises.md +++ b/education/software development/ECE1400/Chapter 17 Exercises.md @@ -6,3 +6,9 @@ struct rectangle *p; ``` > Assume that we want `p` to point to a rectangle structure whose upper left corner is at $(10, 25)$, and whose lower right corner is at $(20, 15)$. Write a series of statements that allocate such a structure and initialize it as indicated. +```c +struct rectangle rect = { { 10, 25 }, { 20, 15 } }; +p = ▭ +``` + +---