以下程序运行结果是:( )
A: 无限次输出:“你好,中国!”
B: 输出5次“你好,中国!”
C: 没有任何输出
D: 编译错误,不能运行
E: include<;stdio.h>;main(){while(5) printf("你好,中国!");}
A: 无限次输出:“你好,中国!”
B: 输出5次“你好,中国!”
C: 没有任何输出
D: 编译错误,不能运行
E: include<;stdio.h>;main(){while(5) printf("你好,中国!");}
举一反三
- 【其它】第 1题 /*------------------------------------------------------ 【程序改错】 -------------------------------------------------------- 功能: 输出你好! ------------------------------------------------------*/ #include <stdio.h> main() { /**********FOUND**********/ Printf(" 你好 " ); } 改错【 1 】:
- Python语句print("世界,你好")的输出结果是() A: (""世界,你好") B: (世界,你好) C: 世界,你好 D: 运行结果出错
- 有以下程序 # include<stdio .h> main() { char s[」=”rstuv"; printf(”%c\n”,*s+2); } 程序运行后的输出结果是
- 【单选题】输出“你好,中国!”正确输出语句 A. print "你好,中国" B. print("你好,中国") C. scanf("你好,中国") D. output("你好,中国")
- 中国大学MOOC: 有如下程序#include <stdio.h>main() { char ch = A; while (ch < D) { printf("%d", ch - A); ch++; } printf("\n");}程序运行后的输出结果是( )