summaryrefslogtreecommitdiff
path: root/wk2/sect2
diff options
context:
space:
mode:
authorFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2023-12-06 05:24:09 +0000
committerFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2023-12-06 05:24:09 +0000
commitde102d58347dbbea67f69a4f2d5278f738e7f1c8 (patch)
treedadc9595decf2046f9413f63c88f7f696efdeffe /wk2/sect2
parent507084244f4809641759293ac549d8707ffde47b (diff)
Tue, Dec 5, 2023, 9:24 PM -08:00
Diffstat (limited to 'wk2/sect2')
-rw-r--r--wk2/sect2/initials.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/wk2/sect2/initials.c b/wk2/sect2/initials.c
new file mode 100644
index 0000000..431b04c
--- /dev/null
+++ b/wk2/sect2/initials.c
@@ -0,0 +1,12 @@
+#include <stdio.h>
+#include <ctype.h>
+#include <cs50.h>
+#include <string.h>
+
+int main(int argc, string argv[])
+{
+ for (int i = 0; i < argc; i++)
+ {
+ printf("argv[%i] is %s\n", i, argv[i]);
+ }
+}