From 372310563f11e10d868d914b5c767ea1e1acf4d6 Mon Sep 17 00:00:00 2001 From: Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> Date: Tue, 5 Dec 2023 05:13:13 +0000 Subject: Mon, Dec 4, 2023, 9:13 PM -08:00 --- wk2/lect2/greet.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'wk2') diff --git a/wk2/lect2/greet.c b/wk2/lect2/greet.c index 3f01f2a..eabff90 100644 --- a/wk2/lect2/greet.c +++ b/wk2/lect2/greet.c @@ -1,6 +1,9 @@ #include #include +//argc is argument count, ie how many arguments were given +//argv is an array of the arguments given +//argv[0] is the int main(int argc, string argv[]) { printf("hello, %s\n", argv[1]); -- cgit v1.2.3