当前位置: 答题翼 > 问答 > 计算机类考试 > 正文
目录: 标题| 题干| 答案| 搜索| 相关
问题

以下程序的运行结果是 #include"stdio.h" main() {structdate {intyear,month,day;}tod


以下程序的运行结果是

#include "stdio.h"

main()

{struct date

{int year,month,day;}today;

printf("%d\n",sizeof(struct date));

}

A.6

B.8

C.10

D.12

请帮忙给出正确答案和分析,谢谢!

参考答案
您可能感兴趣的试题
  • 有以下程序:include<stdi0.h> define S(x)(x)"x"2main() { int k一5,j=2; Dr

  • 若运行以下程序时,从键盘输入ADescriptor(表示回车),则下面程序的运行结果是include m

  • 设文件test.txt中原已写入字符串Begin,执行以下程序后,文件中的内容为【 15 】 。#include <stdi

  • 以下程序运行后的输出结果是______。 char s[]="\\141\141abc\t"; printf(&quo

  • 以下程序的输出结果是( )。 #include main() {printf("%d\n" NULL); } A.不确

  • 有以下程序 #include main(); } 程序运行后的输出结果是