问题
单项选择题
若要说明一个类型名STP,使得STP s;等价于char*s,以下选项中正确的是
A.typedef STP char
*s;
B.typedef
*char STP;
C.typedef STP
*char;
D.typedef char
*TP;
答案
参考答案:D
解析: 本题考查类型定义typedef的使用方式,考生常犯的问题是把两者的位置颠倒。
若要说明一个类型名STP,使得STP s;等价于char*s,以下选项中正确的是
A.typedef STP char
*s;
B.typedef
*char STP;
C.typedef STP
*char;
D.typedef char
*TP;
参考答案:D
解析: 本题考查类型定义typedef的使用方式,考生常犯的问题是把两者的位置颠倒。
综合填空。用方框中所给的单词的正确形式填空,使短文正确通顺,每词限用一次(每小题1分,共10分)
Many people don’t understand how much water the man’s body __小题4:_____ and they don’t drink enough, especially (特别) in ___小题5:____ weather. Most people drink when they feel thirsty. They often need more water especially ___小题6:_____ they have sports. ____小题7:__ we don’t have enough water, we may feel ___小题8:____ and may ___小题9:____ ill. Now you can see__小题10:_____ important the water is. |