temp=’this is a temped variable’;echo foo${temp}上述命令执行的结果为()
A: Afoo
B: Bfoo$temp
C: Cfoo’this is a temped variable’
D: Dfoothis is a temped variable
A: Afoo
B: Bfoo$temp
C: Cfoo’this is a temped variable’
D: Dfoothis is a temped variable
举一反三
- Linux终端执行temp=world;echohello$temp上述命令执行的结果为()。 A: helloworld B: hello$temp C: hello world D: hello
- 在Java Web应用开发中,编写JSP包含如下代码,JSP执行后在HTML页面上的输出结果为()。 A: variable:88 variable:NULL B: variable:80+8 variable: C: variable:88 variable: 88 D: variable:88 variable:
- 在C51中有个无符号型字符变量temp 和一个位变量flag,要对它们取反,相应的C51语句为( )。 A: temp=~temp ; flag=!flag B: temp=!temp ; flag=~flag C: temp=!temp ; flag=!flag D: temp=~temp ; flag=~flag
- (2-5)执行下面语句,temp值是( )。long temp = (int) 5.6;temp %= 2;
- 请阅读以下程序代码,输出结果正确的是()。 <?php $a=1; $temp=0; while($a<=10){ if($a==8) break; $temp+=$a; $a++; } echo $temp; ?>