diff options
author | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2023-12-06 05:24:09 +0000 |
---|---|---|
committer | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2023-12-06 05:24:09 +0000 |
commit | de102d58347dbbea67f69a4f2d5278f738e7f1c8 (patch) | |
tree | dadc9595decf2046f9413f63c88f7f696efdeffe /wk2/sect2 | |
parent | 507084244f4809641759293ac549d8707ffde47b (diff) |
Tue, Dec 5, 2023, 9:24 PM -08:00
Diffstat (limited to 'wk2/sect2')
-rw-r--r-- | wk2/sect2/initials.c | 12 |
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]); + } +} |