From 8b4d0e991004f55d53363a77dd0670b05f0f4e1f Mon Sep 17 00:00:00 2001 From: Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> Date: Sun, 18 Feb 2024 06:41:50 +0000 Subject: Sat, Feb 17, 2024, 10:41 PM -08:00 --- wk3/sect/structs.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 wk3/sect/structs.c (limited to 'wk3/sect') diff --git a/wk3/sect/structs.c b/wk3/sect/structs.c new file mode 100644 index 0000000..59a1c07 --- /dev/null +++ b/wk3/sect/structs.c @@ -0,0 +1,19 @@ +#include +#include +#include +#include +#include + +int main(void) {} + + +/* +typedef struct { + string name; + int votes; +} candidate; + +candidate president; +president.name = "Alyssa"; +president.votes = 10; +*/ -- cgit v1.2.3