首页 > 计算机科学与技术
题目内容 (请给出正确答案)
[单选题]

main() {struct date {int year,month,day;} today; printf(“%d\n”,sizeof(struct date));} 以上程序的运行结果是()。

A.6

B.8

C.10

D.12

查看答案
答案
收藏
如果结果不匹配,请 联系老师 获取答案
您可能会需要:
您的账号:,可能还需要:
您的账号:
发送账号密码至手机
发送
安装优题宝APP,拍照搜题省时又省心!
更多“main() {struct date {int year,…”相关的问题
第1题
We wish to _____ your attention to the fact that the date of delivery is approaching.

A.paid

B.draw

C.push

D.put

点击查看答案
第2题
关于日期和时间函数,下列说法正确的是()

A.now函数可以返回客户端计算机当前的日期和时间值。

B.表达式Weekday(Date),将得到表示当前日期是星期几的英文字符,如星期日为“Friday”。

C.Timer函数返回午夜12时以后已经过去的小时数。

D.表达式DateAdd("d",10,Date),是表示当前日期的十天后。

点击查看答案
第3题
The first main feature of the British worship is its unity among the churches.()
The first main feature of the British worship is its unity among the churches.()

A.错误

B.正确

点击查看答案
第4题
MapReduce的main函数中添加MyMapper类的方法为job.()(MyMapper.class)。
点击查看答案
第5题
一个C程序的执行是从()。

A.C程序的main函数开始,到main函数结束

B.本程序的第一个函数开始,到本程序最后一个函数结束

C.本程序的main函数开始,到本程序文件的最后一个函数结束

D.本程序的第一个函数开始,到本程序main函数结束

点击查看答案
第6题
Servlet程序的入口点是:

A.init()

B.main()

C.service()

D.doGet()

点击查看答案
第7题
Reading this book, we can ____ the main character.

A、identify with

B、identify as

C、identify to

D、identity for

点击查看答案
第8题
() the main source of energy for speaking, initiating the airflow for speech, hence pulmonic airstream mechanism.

A.Mouth

B.Heart

C.Nose

D.Lung

点击查看答案
第9题
C语言程序的执行,总是起始于

A.程序中的第一条可执行语句

B.程序中的第一个函数

C.main函数

D.包含文件中的第一个函数

点击查看答案
第10题
下列程序的输出结果是()。 #include void fun(); void main() { int x=1; if(x= =1) { int x=2; printf(“%d”,++x); } void fun() { printf(“%d”,x++);}

A.2,1,1

B.1,2,1

C.2,2,2

D.2,2,1

点击查看答案
第11题
#include<stdio.h> main() {union long a; int b; char c;} m; printf(“%d\n”,sizeof(m));}以上程序的运行结果是()。

A.2

B.4

C.6

D.8

点击查看答案
退出 登录/注册
发送账号至手机
获取验证码
发送
温馨提示
该问题答案仅针对搜题卡用户开放,请点击购买搜题卡。
马上购买搜题卡
我已购买搜题卡, 登录账号 继续查看答案
重置密码
确认修改