From 87e93e98ca997efe052df40e0d14208d6efafc1f Mon Sep 17 00:00:00 2001 From: Reina Harrington-Affine Date: Thu, 28 Aug 2025 23:32:07 +0000 Subject: [PATCH] Stub of an improved version of ex1_16 to allocate array sizes on the fly and support arbitrarily long input. --- KNR C/ex1_16_improved.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 KNR C/ex1_16_improved.c diff --git a/KNR C/ex1_16_improved.c b/KNR C/ex1_16_improved.c new file mode 100644 index 0000000..e7d7ffb --- /dev/null +++ b/KNR C/ex1_16_improved.c @@ -0,0 +1,15 @@ +#include + +/*A version of KNR C exercise 1-16 from scratch with the goal of improving + * readability.*/ + +int pullLine(char line[]); +void copy(char from[], char to[]); + +int main(){ + + return 0; +} + +int pullLine(char line[]){ +}