C语言程序设计总复习总结.docVIP

  • 13
  • 0
  • 约4.46千字
  • 约 7页
  • 2018-07-11 发布于上海
  • 举报
复习思考单项选择题:(20分,每题2分)1.以下选项中不合法的标识符是( C )A) _123 B) Printf C) A$ D) Dim2.下列不正确的转义字符是( A )A) \ B) \n C) \t D) \b3. 已知定义了如下结构体变量:struct date {int month; int day; int year;}; struct student {int num; char name[20]; int age; struct date birthday;} student1; 则对结构体变量中成员引用正确的是( A )A) student1.birthday.day B) student.date.dayC) student.birthday.month D) student1.date.year4.若a、b、c均为int型变量,且a=3,b=4,c=5;则以下表达式中,值为0的表达式是( D )A) ab B) a=b C) a||b+cb-c D) !((ab)!c||1)5.执行语句“x=(a=3,b=

文档评论(0)

1亿VIP精品文档

相关文档