diff options
author | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2023-12-06 05:23:15 +0000 |
---|---|---|
committer | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2023-12-06 05:23:15 +0000 |
commit | 507084244f4809641759293ac549d8707ffde47b (patch) | |
tree | b2c44c9b74f874c396757f36835ab01208fadd88 | |
parent | 824060199d22c746befd951824b2dec1b04d3c0c (diff) |
Tue, Dec 5, 2023, 9:23 PM -08:00
-rw-r--r-- | wk2/sect2/cla.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/wk2/sect2/cla.c b/wk2/sect2/cla.c new file mode 100644 index 0000000..431b04c --- /dev/null +++ b/wk2/sect2/cla.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]); + } +} |