题目内容
(请给出正确答案)
[主观题]
设下面程序的可执行文件名为prg.exe,在该程序所在子目录下输入以下命令行:prg hello good<回车>
设下面程序的可执行文件名为prg.exe,在该程序所在子目录下输入以下命令行: prg hello good<回车>则程序的输出结果是______。 main()(int argc,char*argv[]) { int i; if(argc<=0)return; for(i=1;i<argc;i++) printf("%c",*argv[i]); }
A.hello good
B.hg
C.hel
D.hellogood
![](https://lstatic.shangxueba.com/sxbcn/h5/images/tips_org.png)