若有说明语句char a[] = “It is mine”;char *p = “It is mine”;则以下不正确的叙述是()
A. a+1表示的是字符t的地址
B. p指向另外的字符串时,字符串的长度不受限制
C. p变量中存在的地址值可以改变
D. a中只能存放10个字符
查看答案
设有程序段:char s[]=”Hello”; char *p ; p=s;则下面叙述正确的是()
A. s和p 完全相同
B. 数组s中的内容和指针p中的内容相等
C. s数组长度和p所指向的字符串长度相等
D. *p与s[0]相等
若已定义char s[5]; 则在下面表达式中不能表示s[1]的地址的是()
A. s+1
B. s++
C. &s[0]+1
D. &s[1]
若有以下定义,则赋值正确的是()int a , b , *p;float c, *q;
A. p = &c
B. q=p
C. p = NULL
D. p = b
Directions: In this section, you'll hear some long conversations. At the end of each conversation, some questions will be asked. Both the conversation and the questions will be spoken only once. After each question, choose the best answer from the four choices marked A, B, C, and D.Questions 10 to 12 are based on the conversation you have just heard.10.
A. Judging people’s behaviour.
B. All the causes of anger.
C. People’s attitudes can’t be changed.
D. The effects of negative behaviour.