ziglings/patches/patches/043_pointers5.patch

11 lines
356 B
Diff

--- exercises/043_pointers5.zig 2023-10-03 22:15:22.122241138 +0200
+++ answers/043_pointers5.zig 2023-10-05 20:04:07.036099841 +0200
@@ -68,7 +68,7 @@
// FIX ME!
// Please pass Glorp to printCharacter():
- printCharacter(???);
+ printCharacter(&glorp);
}
// Note how this function's "c" parameter is a pointer to a Character struct.