/* 程序功能:打印输出hello world #include <stdio.h> int main() { printf("Hello, world\n"); return 0; } 上面程序的运行结果是()
A.程序出错,不能运行
B.Hello, world
C.程序功能:打印输出hello world
D."Hello, world\n"
A.程序出错,不能运行
B.Hello, world
C.程序功能:打印输出hello world
D."Hello, world\n"
第1题
#include<stdio.h>
main()
{ unsigned short a=65537; int b;
printf("%d/n" ,b=a);
}
第5题
B、0,1,2
C、1,0,3
D、1,1,2
第6题
A、a=10 b=50 c=30
B、a=10 b=50 c=10
C、a=10 b=30 c=10
D、a=50 b=30 c=50
第7题
功能:以每行5个数来输出300以内(包括300)能被7或17整除的偶数,并求出其和。 #include <conio.h> int main() { int i,n,sum; sum=0; _________ ; for(i=1; i<=300 ;i++) if( i%7="=0||i%17==0)" if(i%2="=0)" { sum="sum+i;" n++; printf("%6d",i); n%5="=0" ) _____________; } printf("\ntotal="%d\n",sum);" return 0;>
第9题
B、2*i-1
C、2*i+1
D、i+2
第10题
A、有语法错,不能通过编译
B、通过编译,但不能连接
C、输出* * * *
D、输出# # # #
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!