diff options
Diffstat (limited to 'wk2/lect2/greet.c')
-rw-r--r-- | wk2/lect2/greet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wk2/lect2/greet.c b/wk2/lect2/greet.c index eabff90..ccecd7d 100644 --- a/wk2/lect2/greet.c +++ b/wk2/lect2/greet.c @@ -3,7 +3,7 @@ //argc is argument count, ie how many arguments were given //argv is an array of the arguments given -//argv[0] is the +//argv[0] is the command that calls the script, ie ./greet int main(int argc, string argv[]) { printf("hello, %s\n", argv[1]); |