[求助]一个关于Command-Line Arguments的问题
大家帮我看一下这段程序,我不明白它有什么作用!大家给个注释吧!谢谢啦!
#include<stdio.h>
int main(int argc, char *argv[])
{
int i;
printf("The number of items on the command line is %d\n",argc);
for(i = 0; i < argc; i++)
{
printf("The address stored in argv[%d] is %p\n",i,argv[i]);
printf("The charactr pointer to is %c\n",*argv[i]);
}
return 0;
}