Nimbin[12]?C-Tutorial / tutorium_pe1_se1 / commits / ac8a4c7

tutorium_pe1_se1 git · main

self-explaining C files

c tutorial · first commit 2025-11-15 · last commit 2025-11-30 (11 months ago) · synced 1 hour ago · upstream: git.ide3.de/hsnr/tutorium_pe1_se1

C 100%
git clone https://git.christianimmanuel.de/c-tutorial/tutorium_pe1_se1.gitwget https://git.christianimmanuel.de/c-tutorial/tutorium_pe1_se1/archive/tutorium_pe1_se1.tar.gz

Fix

Christian Immanuel · 2025-11-24 11:00 · ac8a4c7e9005ba2285442469b76f7dbc33e98e4e

 12-1_zeichenketten_array.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/12-1_zeichenketten_array.c b/12-1_zeichenketten_array.c
index b14b457..9e98ea1 100644
--- a/12-1_zeichenketten_array.c
+++ b/12-1_zeichenketten_array.c
@@ -11,7 +11,7 @@ int main() {
 #define STRING_SIZE  50
     char strings[STRING_COUNT][STRING_SIZE] =
         { "Erster String\n",
-          {'Z','w','e','i','t','e','r', 'S','t','r','i','n','g', '\n'},
+          {'Z','w','e','i','t','e','r', 'S','t','r','i','n','g', '\n', '\0'},
           "Dritter String\n"
         };