网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
下列x的值是 【7】 。
int x;x=sizeof 2.25*4;
参考答案
更多 “ 下列x的值是 【7】 。int x;x=sizeof 2.25*4; ” 相关考题
考题
执行下列程序 int fun(int x1,int x2){ int x; x1>x2 ?(x=3):(x=4); return x+x1; } void main(){ cout<<fun(7,8); } 后输出结果是 ______。A.9B.10C.11D.12
考题
有下列程序: inelude main() { int x=8; for(;x>0;x--)
有下列程序: #inelude <stdio.h> main() { int x=8; for(;x>0;x--) { if(x%3) {printf("%d,",x--);continue;} printf("%d,",--x); } } 程序的运行结果是( )。A.7,4,2B.8,7,5,2C.9,7,6,4D.8,5,4,2
考题
下列程序段执行后,x5的结果是______。 public class ex42 { public static void main(String[] args) { int xl = 8; int x2 = 12; int x3=7; int x4; int x5; x4 = x1 > x2 ? x1 : x2+ x1; x5 = x4 > x3 ? x4 : x3; System.out.println(x5); } }A.11B.20C.10D.12
考题
执行下列程序后的输出结果是( ) int fun(int x1,int x2) { int x;x1x2?(x=3):(x=4);return(x+x1); } main() { printf("%d\n",fun( 7,8));}A.9B.10C.11D.12
考题
下列语句执行后,x的值是() int x=2 ; do{x+=x ; }while(x<17);A.4B.16C.32D.256
热门标签
最新试卷
![瑞牛题库 章节练习 历年真题 模拟试卷](http://assets.51tk.com/51_sidebar_right_index.jpg)