Stub of an improved version of ex1_16 to allocate array sizes on the fly and support arbitrarily long input.

This commit is contained in:
Reina Harrington-Affine 2025-08-28 23:32:07 +00:00
parent c47e378a4f
commit 87e93e98ca

15
KNR C/ex1_16_improved.c Normal file
View file

@ -0,0 +1,15 @@
#include <stdio.h>
/*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[]){
}