网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

下列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

考题 下列x的值是int x;x= sizeof 2.25*4;

考题 下列程序段执行后,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

考题 int x,y,z; x=2/4*7; y=4/2*7.0; z=x+y; 执行完上面程序段后,z的值是()

考题 1、int x=1; while(x++<5); 循环结束后,x的值是:A.6B.5C.7D.4E.8

考题 下列语句执行后,x的值是() int x=2; do{x+=x;}while(x<17);A.16B.256C.4D.32

考题 下列语句执行后,x的值是() int x=2 ; do{x+=x ; }while(x<17);A.4B.16C.32D.256