單項選擇題
根據(jù)下面的結(jié)構(gòu)體類型定義和數(shù)組定義
struct season
{char name[10];
int day;
};
struct season s[4]={""Spring"",90,""Summer"",91,""Autumn"",92,""Winter"",92};
值等于'A'的表達式" ()
A.s[3].name[0]
B.s[3].name
C.s[2].name
D.s[2].name[0]
您可能感興趣的試卷
你可能感興趣的試題
1.單項選擇題
變量a所占的內(nèi)存字節(jié)數(shù)是(假設整型int為4字節(jié))()
struct stu
{
int score[4];
char name[3];
int n;
} a ;
A.8
B.23
C.24
D.25
2.單項選擇題
#include
#define MIN -40
main()
{
int x=20,y=10;
#if(MIN
#else
printf(""%d\n"",y);
#endif
} 程序運行結(jié)果是()
A.不確定
B.-40
C.10
D.20