2008年湖南省高考真题是如何改写的?

更新于
2026-10-03 23:16:11
0阅读来源:SEO教程
  • 内容介绍
  • 文章标签
  • 相关推荐

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

1. 编程结果+1

2.简化版创新开头+1

3.简短创意引言+1

一、写程序结果

1、

#include <stdio.h> main() { char a=55; a=~a&055; printf("%x,%o",a,a); }

运行结果是____________________。

2、

#include <stdio.h> #define test(x,y) x+y main() { float c; c=2*test(3.2,5.4)/2; printf("%6.1f",c); }

运行结果是____________________。

3、

#include <stdio.h> void fun() { int x=1; static int y=1; printf("%d%d",++x,y++); } main() { int i; for(i=0; i<2; i++) fun(); }

运行结果是____________________。

4、

#include <stdio.h> main() { int a=12,b=0,x=0; do { b+=2; a-=2+b; x++; } while(a>=0); printf("%d",x); }

运行结果是____________________。

阅读全文

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

1. 编程结果+1

2.简化版创新开头+1

3.简短创意引言+1

一、写程序结果

1、

#include <stdio.h> main() { char a=55; a=~a&055; printf("%x,%o",a,a); }

运行结果是____________________。

2、

#include <stdio.h> #define test(x,y) x+y main() { float c; c=2*test(3.2,5.4)/2; printf("%6.1f",c); }

运行结果是____________________。

3、

#include <stdio.h> void fun() { int x=1; static int y=1; printf("%d%d",++x,y++); } main() { int i; for(i=0; i<2; i++) fun(); }

运行结果是____________________。

4、

#include <stdio.h> main() { int a=12,b=0,x=0; do { b+=2; a-=2+b; x++; } while(a>=0); printf("%d",x); }

运行结果是____________________。

阅读全文