I'm sure this is a simple one but I can't quite get my head around the explanation in my textbook, nor the one on CProgramming here.
I understand that argv is the name of the program being called and this is obviously stored as such (i.e. it is the name you save the program as).
But Argv and upwards - they are stored within the code of that program, yes?
Do they exist somewhere specifically in the code of the program whose name is argv?
Say argv (the name of the program I want to call) is "test1"
What could the code inside that program look like, just for example? Does it haveand then also haveCode:#include<stdio.h>
Just not sure where the character strings for argv, argv, etc actually originally appear.
And is the "command line" something that you put before
...or IS that the command line right there?Code:main()
Thanks a lot