1-11
authorCian Bagshaw <cian@cianb.xyz>
Tue, 20 Dec 2022 23:16:57 +0000 (23:16 +0000)
committerCian Bagshaw <cian@cianb.xyz>
Tue, 20 Dec 2022 23:16:57 +0000 (23:16 +0000)
1/11.c [new file with mode: 0644]

diff --git a/1/11.c b/1/11.c
new file mode 100644 (file)
index 0000000..e4ece6e
--- /dev/null
+++ b/1/11.c
@@ -0,0 +1,10 @@
+/*
+       Exercise 1-11. How would you test the word count program? What kinds of input
+       are most likely to uncover bugs if there are any?
+       ===
+
+       One could test the program by giving it different character inputs of decent
+       length, to see if the program counts everything. Hyphenated words would cause
+       an issue as they would be counted as one, since they are not separated by
+       whitespace.
+*/