added array-run
authortomás zerolo <tomas@tuxteam.de>
Sat, 29 Mar 2025 16:55:17 +0000 (17:55 +0100)
committertomás zerolo <tomas@tuxteam.de>
Sat, 29 Mar 2025 16:55:17 +0000 (17:55 +0100)
array-run.c [new file with mode: 0644]

diff --git a/array-run.c b/array-run.c
new file mode 100644 (file)
index 0000000..cdce89d
--- /dev/null
@@ -0,0 +1,13 @@
+#include <stdio.h>
+
+int main(int argc, char *argv[])
+{
+  char bla[] = "die blöden Ösen";
+  char *blo;
+
+  blo = bla;
+
+  while( *blo != 0 ) {
+    printf("%c\n", *blo++);
+  }
+}