题目内容

设有如下程序段: char s[20]="Beijing",*p; p=s; 则执行p=s;语句后,以下叙述正确的是( )。

A. 可以用*p表示s[0]
B. s数组中元素的个数和p所指字符串长度相等
C. s和p都是指针变量
D. 数组s中的内容和指针变量p中的内容相同

查看答案
更多问题

—Could you please tell me ______ —Go upstairs and turn left.

A. what is the teacher's office
B. what the teacher's office is
C. where is the teacher's office
D. where the teacher's office is

有以下程序: void main() int m=3,n=4,x; x=-m++: x+=8/++n: printf("%d\n",x); 程序运行后输出的结果是( )。

A. 3
B. 5
C. -1
D. -2

有以下程序: void main() int i=1,j=2,k=3; if(i++=-j&&k--==j) printf("%d,%d,%d”,i++,j,k); else printf("%d,%d,%d",++i,++j,k--); 程序运行后输出的结果是( )。

A. 1,2,3
B. 2,2,3
C. 2,3,2
D. 3,3,3

《人民警察法》第27条规定:“录用人民警察,必须按照国家规定,( ),严格考核,择优选用。”

A. 公开选拔
B. 公开考试
C. 内部考试
D.逐级选拔

答案查题题库