2009年湖南省对口高考真题中,哪一道题的解答过程最复杂?

2026-04-10 08:330阅读0评论SEO教程
  • 内容介绍
  • 文章标签
  • 相关推荐

本文共计1535个文字,预计阅读时间需要7分钟。

2009年湖南省对口高考真题中,哪一道题的解答过程最复杂?

一、编写程序结果+1

二、程序输出结果+1

一、写程序结果

1、

#include <stdio.h> main() { struct stu { char name[10]; int age,sex; }; printf("%d",sizeof(struct stu)); }

运行结果是____________________。

2、

#include <stdio.h> main() { int x=68; printf("%c,%d",x,~x); }

运行结果是____________________。

3、

#include <stdio.h> #include <math.h> main() { double x=5.14; int a=(int)floor(x); int b=(int)pow(floor(x),3); printf("%d,%d",a,b); }

运行结果是____________________。

阅读全文

本文共计1535个文字,预计阅读时间需要7分钟。

2009年湖南省对口高考真题中,哪一道题的解答过程最复杂?

一、编写程序结果+1

二、程序输出结果+1

一、写程序结果

1、

#include <stdio.h> main() { struct stu { char name[10]; int age,sex; }; printf("%d",sizeof(struct stu)); }

运行结果是____________________。

2、

#include <stdio.h> main() { int x=68; printf("%c,%d",x,~x); }

运行结果是____________________。

3、

#include <stdio.h> #include <math.h> main() { double x=5.14; int a=(int)floor(x); int b=(int)pow(floor(x),3); printf("%d,%d",a,b); }

运行结果是____________________。

阅读全文