首页
普通专升本
成人高考
学位英语
在线刷题
最近学习
最近学习课程
最强大脑 · 3天挑战极限记...
副标题副标题副标题副
最强大脑 · 3天挑战极限记...
副标题副标题副标题副
您现在位置:
模拟考场
>
湖北自学考试
>
专业课
>
C++程序设计
>
浏览试题
[单选题]
在C++中不返回任何类型的函数应该说明为()
A
intb.charc.voidd.double
收藏
查看答案
参考答案
试题答案:
C
答案解释:
无形参或无返回值都可以用void来声明,int char double分别是整型、字符型和实型。
相关题目
C++语言建立类族是通过()
声明如下数组: int a = {1, 2, 3, 4, 5, 6, 7, 8}; 先查找4的位置,将数组a复制给数组b,然后将数组a的内容反转,再查找4的位置,最后分别输出数组a和b的内容。
如果从原有类定义新类可以实现的是()
非静态成员函数都会有一个隐含指针,它是
使用内联函数设计一个类,用来表示直角坐标系中的任意一条直线并输出它的属性。
找出下面程序中的错误并改正之。
在保护继承的情况下,基类成员在派生类中的访问权限()
声明函数模板的关键字是
在int a=3,int p=&a;中,p的值是()
下面叙述不正确的是()
热门试题
1.
A. Turning the following imperative into the tag question form:Put down all your things on the table.
2.
25.垄断资本主义为向社会主义过渡准备的物质基础是( )
3.
以太网交换机,其实质是一种多端口网桥,它工作在OSI七层参考模型的
4.
13.学前知识系统化教学中,幼儿园教育教学工作的内容主要分为“儿童生活的组织与教育”和()
5.
3.In the early 1600's, a group known as the Separatists lived in England. They were people who wanted to worship God, study the Bible and pray, but the English laws did not allow them to worship as they desired. They were hunted down, beaten, and locked up.Eventually, they heard about freedom of religion in Holland, and planned to escape. After much hardship, they were allowed to leave England.Now called Pilgrims, they lived in Holland for 12 years, but left because they couldn't stand the hard life, and couldn't work their own trades. They wanted to find a Kingdom of God for their posterity (后代) to practice religion freely. So they hired the Speedwell and the Mayflower to carry them across the Atlantic to a new land in America.The Speedwell had many leaks and had to turn back. The Mayflower took in their passengers, making a total of over 100. They sailed two months and three days, cramped and hungry.On November 11, 1620, the Mayflower spotted land. They landed in Province town, Massachusetts. For over a month, they sent men to find the perfect place for them to build their colony. When they finally found a place, they called it Plymouth.Right away they started building homes, knowing winter was near.Unfortunately, a violent storm hit when the houses were not yet finished. The Pilgrims were forced to stay on the cramped (狭窄的) Mayflower for their first winter in the new world. When this winter was over, over half of them had died.The Pilgrims eventually made a good friend who helped them. His name was Squanto. He showed them where fish swam, how to hunt deer, and how to plant corn.Squanto was a Native American who was kidnapped (绑架) earlier in his life and taken to England. This is why he was able to communicate with the Pilgrims.With the help of the Native Americans, there was plenty for everyone to eat that first summer, and also plenty to last for the next winter.The Pilgrims had so much to be thankful for. They gave thanks for good friends, new homes, freedom of religion, and plenty of food in a three-day celebration with their Native American friends.Today we continue the celebration of the Pilgrims and the Native Americans, and call it Thanksgiving.(5分)3.1The Separatists left England in pursuit of____.(1分)A. wealthB. adventureC. an easier lifeD. religious freedom
热门试卷
成人高考专升本《政治》模拟试卷
去做题
已有3416做题
2020年湖北成人高考专升本政治模拟试题三
去做题
已有2213做题
成人高考专升本政治考试模拟试题及答案(1)
去做题
已有1898做题
湖北成考专升本政治真题(2021年)
去做题
已有1355做题
成人高考高起点语文考试高分突破试题及答案四
去做题
已有1194做题