【判断题】若有定义和语句:struct student { int num char name[10] float score} s[5]={{1,'lili',98.5},{9,'xiaohua',66}},*p=sprintf('%d',*p++)输出结果是1。( )
【单选题】下列对结构及其变量定义错误的是( )。
B.
struct MyStruct{ {int num; int num;char ch; char ch;} }My;
D.
struct{ {int num; int num;char ch; char ch;}My; };
【单选题】洋葱、大蒜、药芹、韭菜等原料富含( ),适当与动物性原料搭配可使菜肴更醇香。
【简答题】若有以下结构类型说明和变量定义,则变量a在内存中所占字节数是struct stud{ char num[6] int s[4] double ave}a,*p
【单选题】生产弹簧通常需要采用哪种热处理方法?( )
【单选题】若有结构体定义: struct stu{int num char sex int age }al,a2 则下列语句中错误的是( )。
【单选题】若有定义: struct student{int num; char sex; int age;}stu1; 下列叙述不正确的是( )。
B.
可以用struct student定义结构体变量
D.
num,sex,age都是结构体变量stu1的成员