$str = "My name is Jack, and what is your name?";echo substr_count ($str,“name”);程序的输出结果为()。
A: 1
B: 2
C: 3
D: 4
A: 1
B: 2
C: 3
D: 4
B
举一反三
- This is ______ (I ,my) brother. 2、How ______ ( is ,are) you? 3、My ______ (name ,name’s) Zhu Xiaoqing. 4、______ __( What, What‘s) your name,please? 5、Nice to meet ______ ( you, your) .
- 9.--- Could you tell me ____________? A: - Call me Jack, please. B: what your name is C: what your name was D: what is your name E: what was your name
- $str = “php awesome”; echo substr($str,0,3); 上述代码输出的结果为________。
- What’ s her name?__________Li Mei. A: His name is B: My name is C: Her name is D: Your name is
- 请看下面的一段程序:info = {1:'Rose', 2:'Mike',3:'Jack'}name = info.get(4,'Tom')name2 = info.get(1)print(name)print(name2)运行上述程序,最终输出的结果为()。 A: Tom,Mike B: Tom,Rose C: Mike,Rose D: Jack,Rose
内容
- 0
下列程序输出结果是()<?php$str = "LAMP:Linux+Apache+MySQL+PHP";echo substr($str, 1, 2);?> A: LA B: AM C: A D: L
- 1
Dose he know () ? A: what’s your name B: what name is your C: what your is name D: what your name is
- 2
依次执行下列命令后,程序的运行结果是 ()。NAME=123NAME=STR(NAME,6)-"你好!"?NAME
- 3
—What _______ your name?—My name _______ Li Yan. A: is,is B: is,are C: are,am D: is,am
- 4
以下涉及字符串数组、字符指针的程序段中,没有编译错误的是()。 A: char* str, name[1]; str = "Hello"; B: char* str, name[1]; name = "Hello"; C: char str1[10] = "ex1.c", str2[6]; str2 = str1; D: char head_line[]; head_line = "\\0";