问题
单项选择题
下列对结构及其变量定义错误的是( )。
A.struct My Struct { int num; char ch; }
B.struct MyStruct{int num;char ch;}My;
C.strut { int num; char ch; }My;
D.struct{int num;char ch;};
答案
参考答案:D
下列对结构及其变量定义错误的是( )。
A.struct My Struct { int num; char ch; }
B.struct MyStruct{int num;char ch;}My;
C.strut { int num; char ch; }My;
D.struct{int num;char ch;};
参考答案:D