【单选题】【消耗次数:1】
关于数组,下列说法中不正确的是( )
数组是最简单的复合数据类型,是一系列数据的集合
数组元素可以是基本数据类型、对象或其他数组
定义数组时必须分配内存
一个数组中所有元素都必须具有相同的数据类型
参考答案:
复制
纠错
相关题目
【判断题】 可变类型数组的各个数组元素的数据类型可以不同。
①  正确
②  错误
【判断题】 通过指针引用一维数组元素时,定义的指针变量的数据类型可以和数组元素类型相同
①  正确
②  错误
【单选题】 数组元素下标的数据类型为()。
①  整型常量、字符型常量或整型表达式
②  字符串常量
③  实型常量或实型表达式
④  任何类型的表达式
【单选题】 在C语言中,引用数组元素时,其数组下标的数据类型允许是(  )。
①  整型常量
②  整型表达式
③  整型常量、变量或表达式
④  任何类型的表达式
【单选题】 在C语言中,引用数组元素时,其数组下标的数据类型允许是( )。
①  整型常量
②  整型表达式
③  整型常量或整型表达式
④  任何类型的表达式
【单选题】 在C语言中,引用数组元素时,其数组下标的数据类型允许是( )?
①  整型常量
②  整型表达式
③  整型常量或整型表达式
④  任何类型的表达式
【单选题】 在c语言中,引用数组元素时,其数组下标的数据类型允许是__.
①  整型常量
②  整型表达式
③  整型常量或整型表达式
④  任何类型的表达式
【判断题】 数组可以有一组数据类型不同的元素组成。
①  正确
②  错误
【判断题】 结构体数组的每一个数组元素都是一个结构体类型的数据。
①  正确
②  错误
【判断题】 数组由一种数据类型和固定数目的元素所组成。
①  正确
②  错误
随机题目
【多选题】 This story_____________ a very brave (勇敢的) young girl.
①  is to
②  is about
③  concludes
④  concerns
【单选题】 Computer are being used more and more____________ in the world today.
①  extensively
②  expensively
③  exclusively
④  exactly
【单选题】 Anger is a normal emotion that we all feel from time to time. Some people express anger openly in a calm reasonable way. Some explode with anger, and scream and shout. But other people keep their anger inside. They can not or will not express it. This is called repressing anger. Many doctors think that repressing anger is more dangerous to a person’s health than expressing it. They say that when a person is angry, the brain gives out the same hormones (荷尔蒙) as that are produced during tense and nervous situations. They speed the heart rate and raise blood pressure, so the person feels excited and ready to act. Repressing these feelings will only make the feelings continue, and this can lead to many medical problems. To prevent these problems, these doctors suggest letting the anger out by expressing it freely. But recently some other doctors question this. They say that people who express anger repeatedly and violently become, in fact, more but not less angry. And this could cause medical problems. However, some doctors say that both repressing and expressing anger can be dangerous. They believe that those who express anger strongly may be more likely to develop heart diseases, and that those who keep their anger inside may face a greater danger of high blood pressure. Doctors say the solution is to learn how to deal with anger. The first step is to admit that you are angry and to recognize the real cause of the anger, and then to decide if the cause is serious enough to get angry about. If it is, do not express your anger while angry. Wait until your anger has cooled down, and express yourself calmly and reasonably. Doctors also say that a good way to deal with anger is to find humor in the situation that has made you angry, for laughter is much healthier than anger.According to the passage, which of the following about hormones is correct?
①  Hormones will cause people to get anxious.
②  Hormones will increase when one gets angry.
③  The brain produces hormones when one’s blood pressure rises.
④  The brain produces hormones when one has medical problems.
【单选题】 It is no good ___________ to know what you dont know.
①  pretend
②  to pretend
③  pretending
④  pretends
【单选题】 A _________ is ten years
①  decade
②  century
③  millennium
④  dozen
【单选题】 Goats are being hired to do the work of people near San Diego. The fires that occurred in Hillborbough four years ago destroyed thirty homes, most of which have been rebuilt. While people were rebuilding the homes, the grasses and bushes were growing back. The area is now so overgrown in bushes that there is again a major danger of fire.The city government put up bids to remove the bushes. The lowest bid they received was $50,000—and that was if the city provided breakfast and lunch for the workers for the six weeks it would take to clear the overgrown area. The city only wanted to give unlimited coffee and a piece of bread a day for each person. When that offer was rejected, the city asked for help on its website.A sheepherder in Montanta and a goat-keeper in San Bernardino read about the city’s plight(困境)while surfing the Web. They both offered to do the job for $25,000. The city government chose the goat-keeper because he lived closer. When he was told that the city dump(垃圾场)was overflowing , the goat-keeper said, “No problem. My goats will eat everything in your dump, except the car engines, of course.” So, for another $5,000, the city killed two birds with one stone. If all goes well, they will invite the goat-keeper and his “family” back every three years. The goat-keeper said that he would probably visit San Diego while his goats were in the dump.What are the “two birds” that the city government kills with only one stone?
①  Both the sheepherder and goat-keeper will work for the city for $25,000.
②  The danger of fire and providing breakfast and lunch for the work crews.
③  The danger of fire and the overflowing dump.
④  The city government can save some money and the goat-keeper has a new job.
【单选题】 You have to work hard if you want to __________ in your courses.
①  achieve
②  succeed
③  win
④  beat
【单选题】 I will tell you____________ you have to study biology.
①  why
②  which
③  what
④  where
【单选题】 Susan: How do you do, Mrs. White.Mrs. White: How do you do, Susan. I’m glad you can join us. __________
①  Dont be shy.
②  Please feel natural.
③  Make yourself at home.
④  Feel all right here.
【单选题】 I ___________ a short rest before we continue the work.
①  produce
②  publish
③  propose
④  pull