网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

有以下定义和语句: struct students {int num;char name[20];char c; struct {int grade1;int grade2;}s; }; struct students w,*pw; *pw=w; 下列赋值语句不正确的是( )。

A.w.num=1002;

B.w.grade1=85;

C.pw->num=1002;

D.w.s.grade2=85;


参考答案

更多 “ 有以下定义和语句: struct students {int num;char name[20];char c; struct {int grade1;int grade2;}s; }; struct students w,*pw; *pw=w; 下列赋值语句不正确的是( )。A.w.num=1002;B.w.grade1=85;C.pw->num=1002;D.w.s.grade2=85; ” 相关考题
考题 下列函数不能和函数voidprint(char)构成重载的是() A、intprint(int);B、voidprint(char,char);C、intprint(char);D、voidprint(int,int);

考题 下列定义语句中,错误的是A.int px*;B.char*acp[10];C.char(*pac)[10];D.int(*p)();

考题 设有以下函数:voidfun(intn,char}s){……}则下面对函数指针的定义和赋值均正确的是( )。A.void(*pf)(int,char);pf=fun;B.void+pf( );pf=fun;C.void*pf( );*pf=fun;D.void(*pf)(int,char*);pf=fun;

考题 自动类型转换规定的优先次序是( )。A.short,byte,char→long→int→float→doubleB.short,byte,char→int→long―float→doubleC.byte,short,char→long→int→float→doubleD.byte,short,char→int→long→float→double

考题 各种基本数据类型的存贮空间正确的长度排列为()。A.int < char <float<doubleB.double<float <int<charC.char<int <float<doubleD.float<int <char<double

考题 6、各种基本数据类型的存储空间正确的长度排列为()。A.int < char <doubleB.double <int<charC.char<int <doubleD.int <=char<double

考题 各种基本数据类型的精度排列为()。A.int< char <float<doubleB.double<float <int<charC.char<int <float<doubleD.float<int <char<double

考题 各种基本数据类型的存贮空间正确的长度排列为()。A.int < char <doubleB.double <int<charC.char<int <doubleD.int <=char<double

考题 各种基本数据类型的存储空间正确的长度排列为()。A.int < char <doubleB.double <int<charC.char<int <doubleD.int <=char<double

考题 各种基本数据类型的存贮空间正确的长度排列为 ()。A.char<int <doubleB.double <int<charC.int < char <doubleD.int <=char<double