【判断题】【消耗次数:1】
可以不指定类型名而直接定义结构体类型变量。
正确
错误
参考答案:
复制
纠错
相关题目
【判断题】 可以先声明结构体类型,再定义该类型的变量。
①  正确
②  错误
【单选题】 student是一个结构体类型,则结构体变量定义正确的是()
①  struct student a
②  a student
③  struct a
④  以上都不对
【单选题】 下列()对结构类型变量定义是错误的。
①  structteacher{intnum;intage;}teach1;
②  struct{intnum;intage;}teach1,teach2;
③  struct{intnum;intage;}teacher;structteacherteach1;
④  structteacher{intnum;intage;};structteacherteach1;
【单选题】 下列()对结构类型变量定义是错误的。
①  struct teacher {int num; int age; } teach1;
②  struct {int num; int age; } teach1, teach2;
③  struct {int num; int age; } teacher; struct teacher teach1;
④  struct teacher {int num; int age; } ; struct teacher teach1;
【判断题】 指针变量的基类型必须与结构体变量的类型相同()。
①  正确
②  错误
【判断题】 结构体类型不占存储单元,但结构体类型变量占存储单元。
①  正确
②  错误
【判断题】 可以引用结构体变量中成员的值,引用方式为结构体变量名.成员名
①  正确
②  错误
【判断题】 JavaScript不声明变量的数据类型,变量可直接使用。
①  正确
②  错误
【判断题】 可以在声明类型的同时定义变量。
①  正确
②  错误
【单选题】 下面定义了变量类型属性,错误的是()。
①  字节型
②  字型
③  字符型
④  双字型
随机题目
【单选题】 He was sure ____ I would overcome my tears.
①  that
②  what
③  if
④  whether
【单选题】 His ____ argument against our proposal is based on misinformation.
①  valid
②  formal
③  principal
④  principle
【单选题】 If by any chance someone comes to see me, ask the person to leave a ____.
①  message
②  letter
③  sentence
④  notice
【单选题】 19. They lost their way in the forest, and____ made matters worse was that snow began to fall..
①  that
②  it
③  what
④  which
【单选题】 We started out early in order that we ____ there in time.
①  would get
②  ought get
③  should get
④  had to
【单选题】 The moon ____ to a large mirror which reflects the sun’s light to the earth.?
①  compares ?
②  can compare ?
③  can be compared ?
④  may compare?
【单选题】 —Good-bye for now. —____.
①  The same to you
②  Thats OK
③  Long time no see
④  See you
【单选题】 Most electronic devices of this kind, ____ manufactured for such purposes, are tightly packed.
①  that are
②  as are
③  which is
④  it is
【单选题】 I am very ____sitting on this old, broken chair.
①  comfortably
②  uncomfortably
③  commonly
④  uncommonly
【单选题】 Tom ____more than twenty pounds on the novel.
①  spent
②  paid
③  cost
④  took