以下四种说法中,正确的是________。(第7章指针程序设计)
A. char*a="china";等价于char*a;*a="china";
B. charstr[]={"china"};等价于charstr[10];str[]={"china"};
C. char*s="china";等价于char*s;s="china";
D. chara[4]="abc",b[4]="abc";等价于chara[4]=b[4]="abc";
查看答案
有数组定义语句如下:staticintarr[20][30]; 表示数组元素arr[9][0]的地址,除可以使用&arr[9][0]的表示形式之外,还可以使用其他的表示形式。在以下表示形式中错误的是______。(第7章指针程序设计)
A. arr[9]
B. arr+9*30
C. *(arr+9)
D. &arr[0][0]+9*30
语句char*s="china";与char*s;s="china";功能等价。
A. 对
B. 错
有数组定义语句如下:(第7章指针程序设计)static int a[20][30];数组元素a[9][0]的地址既可表示为&arr[9][0],也可以表示为arr+9*30 。
A. 对
B. 错
Listen to an announcement twice and during the second listening, put back themissing words in the blanks.[音频]Ladies and gentlemen, the captain has turned on the Fasten Seat Belt sign. Please take your 1___________ and fasten your seat belt.At this time, we request that all cell phones be turned off for the 2 ______ duration of the flight. We request that all other 3 ___________ devices be turned off until we fly above 10,000 feet. We will notify you when it is 4 _____ to use such devices.We 5 ______ you that this is a non-smoking flight. Smoking is not 6 ______ on the entire aircraft, including the lavatories.If you have any 7 _______ during our flight today, please don’t 8 _______ to ask one of our flight attendants. Thank you.