传奇世界私服 传世私服
网站首页 Linux博客  Linux网址导航  Linux下载  Linux群集  Linux搜索  网站地图
 


 14 12
发新话题
打印

今天考试遇到的考题

今天考试遇到的考题

应该是:this is a vari。为什么?

TOP

今天考试遇到的考题

16、$temp=’this is a temped variable’;echo foo${temp} D
上述命令执行的结果为
A、foo B、foo$temp C、foo’this is a temped variable’ D、foothis is a temped variable
答案是D,我也不理解啊!

TOP

今天考试遇到的考题

这个我可以理解,就是将$temp的值和foo一起显示。

TOP

今天考试遇到的考题

哦,这个foo,是啥意思呢?
foothis is a temped variable 这个答案有没有语法错误?

TOP

 14 12
发新话题