【判断题】
如果p是一个指向struct Student类型对象的指针变量,那么执行p++时,p的增量是结构体struct Student的长度。
【单选题】
假定一个数据对象为int*类型,则指向该对象的指针的类型为( )。
【单选题】
假定一个数据对象为int*类型,则指向该对象的指针的类型为( )。
【单选题】
假定有“struct BOOK{char title[40];float price;};struct BOOK *book;”,则不正确的语句为( )。
①
struct BOOK *x=malloc(book);
②
struct BOOK x={“C++ Programming”,27.0};
③
struct BOOK *x=malloc(sizeof(BOOK));
【单选题】
假定有“struct BOOK{char title[40];float price;};struct BOOK *book;”,则不正确的语句为( )。
①
struct BOOK *x=malloc(book);
②
struct BOOK x={“C++ Programming”,27.0};
③
struct BOOK *x=malloc(sizeof(BOOK));
【单选题】
假定一个单元格的地址为D25,则此地址的类型是________。
【单选题】
数组定义为“inta[4][5];”,下列哪一个引用是错误的()。
【判断题】
sizeof (double) 得到的是一个整数。
【简答题】
假如数组元素是struct Student类型,则在实现换值时,临时变量temp也应定义为[填空1]类型。
【单选题】
定义一个有4个元素的一维整型数组,正确的是