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

下列程序的运行结果为() include<stdio.h> main() {struc tdate {int year,month,day; )today;


下列程序的运行结果为()

#include<stdio.h>

main()

{ struc tdate

{int year,month,day;

)today;

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

}

A.8

B.6

C.10

D.12

参考答案
您可能感兴趣的试题
  • 请阅读下述代码,写出程序执行的结果#include <iostream> using namespace std; class C

  • 请阅读下述代码,写出程序执行的结果#include <iostream> using namespace std; class C

  • 阅读下列程序,则在执行后,程序的运行结果为 include "stdio.h" include "string.h" main() {ch

  • 阅读下列程序,则在执行后,程序的运行结果为 include "stdio.h" include "string.h" main() {ch

  • 以下程序的输出结果是()。#include#includeusing namespace std;void func(cha

  • 给出下面程序的输出结果。include<iostream>using namespace std;void main(){int num=0 i=