【C语言指模拟测试题_答案】.docVIP

  • 30
  • 0
  • 约5.51万字
  • 约 7页
  • 2016-12-25 发布于河南
  • 举报
C语言指针部分模拟测试题 选择题 语句int a=10,*point=a; D   其值不为地址。 A. point B. a C. point D. *point 若p为指针变量,y为变量,则y = *p++;的含义是 A A.y=*p;p++ B.y=(*p)++ C.y=p;p++ D.p++;y=*p 语句char str[]=”visual C++”;char *p=str;则p的值为 B A. ”visual C++” B.str的首地址 C. \n D.”v” 设有说明语句char *s[]={“student”,”Teacher”,”Father”,”Month”}, *ps=s[2];执行语句:printf(“%c,%s,%c”,*s[1],ps,*ps);则输出为A T,Father,F B.Teaher,F,Father C. Teacher,Father,Father D.语法错,无输出 下列说明或赋值语句,不正确的是 C      A. char *p;p=”Visual C++”; B. char p1[12]={‘v’,’i’,’s’,’u’}; C. char p2[12];p2=”Visual C++” D. char p3[]=”Visual”; 现有int b[

文档评论(0)

1亿VIP精品文档

相关文档