设下面程序的可执行文件名为“prg.exe”,在该程序所在子目录下输入以下命令行:prg hello good<回车
A.hello good
B.hg
C.hel
D.hellogood
![](https://lstatic.shangxueba.com/sxbcn/h5/images/tips_org.png)
A.hello good
B.hg
C.hel
D.hellogood
第1题
设下面程序的可执行文件名为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
第8题
假定下列程序的可执行文件名为filel.exe,在该程序的子目录下输入命令行: file1China Bejing<回车> main(int argc,char*argv[]) { while(argc-->1) printf("%s\n",*++argv);} 则程序运行后的输出结果是()。
A.filel China Bejing
B.China Bejing
C.China
D.Bejing
第9题
A.You forgot to type your name or you typed more parameters
B.Hello harry
C.Hello cmdline
D.Hello
为了保护您的账号安全,请在“赏学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!