以下程序的运行结果为______。 #include float fun(int x,int y) { return(x*y); } void main() { int a=2,b=5,c=8; printf(“%.0f”,fun((int)fun(a+b,c),a-b)); }
相似题目
-
以下程序的运行结果为________。#include stdio.hint x=2;int fun(int p){ static int x=3;x+=p;printf(%d ,x);return (x);}void main(){int y=3;printf(%d ,fun(fun(x)));}
-
有以下程序,程序的运行结果是 _________ 。 #include void main() { char ch='Z'; ch=(ch-'A'+1)%26+'A'; putchar(ch); }
-
有以下程序,其中 %u 表示按无符号整数输出,程序运行后的输出结果是 ______ 。 #include main() { unsigned int x=0xFFFF; printf(%u\n,x); }
-
以下程序运行后输出的结果是________。 #include main() { int k=011; printf(%d\nk++); }
-
以下程序的运行结果是____________#include stdio.hvoid main(){void increment();increment();increment();increment();}void increment(){int x=0;x+=1;printf(%d ,x);}
-
有以下程序,其运行结果是______。 #include void main() { int a[]={1,2,3,4},y,*p=&a[3]; ++*p; y=*p--; printf('y=%d',y); }
-
有以下程序: #include void main() { char a[][10] = {'Morning', 'Afternoon', 'Evening', 'Night'}; printf('%s',a[1]); } 程序运行后的输出结果是__________。
-
以下程序的运行结果为_____。 #include #define f(x) x*x void main() { int a = 6, b = 2, c; c = f(a)/f(b); printf('%d', c); }
-
有以下程序:#include#includevoid main(){ char str[][10]={'oneWorld','oneDream!'};printf('%d,',strlen(str[1]));printf('%s ',str[1]);}程序运行后的输出结果是______。
-
以下程序程序运行后的输出结果是_____。#include#define MA(x) x*(x-1)void main(){ int a = 1, b = 2;printf('%d ', MA(1+a+b));}
-
有以下程序:#include\stdio.h\main(){char c;while((c=getchar())!=’?’)putchar(--c);}程序运行时,如果从键盘输入:Y?N?,则输出结果为_________。
-
有以下程序,其中%u表示按无符号整数输出,程序运行后的输出结果是______。#include < stdio.h> main(){ unsigned int x=0xFFFF; printf(\%u \,x); }
-
有以下程序 include <stdio.h> main() { char a=4; printf("%d/n,a=a<<1); } 程序的运行结果是______。
-
以下程序的运行结果是 _____________ include "stdio.h" void main()x=%d y=%d z=%d
-
阅读以下程序,写出程序运行后的输出结果是 ______。include<iostream.h>void main(){char a[]={'
-
有以下程序 include <stdio.h> include <stdlib.h> int fun(int n) {int *p; p=(int*)malloc(sizeof(int)); *p=n; return *p; } { int a; a=fun(10); printf("%d\n",a+fun(10)); } 程序的运行结果是______。
-
有以下程序:# include <stdio.h># include <string.h>main(){char x[]="STRING";x[0]=0;x[1]="\0";x[2]="0";printf("%d%d\n", sizeof(x),strlen(x));}程序运行后的输出结果是______。
-
在下面程序运行后,输出结果为 ______。include<iostream.h>void count(int x[],int n,int &y
-
以下程序的运行结果是________。 include int workover() { i=i<=2 5:0; return i; }
-
以下程序运行后的输出结果是 ______。 include <stdio.h> struct NODE { int k; char s[20
-
已知在ASCⅡ代码中,字母A的序号为65,以下程序输出的结果是______。include<stdio.h>main(); }
-
以下程序运行后输出的结果是______。 include <stdio.h> main() int x=20; printf("%d",0<x<20); pnntf("%d",0<x&&x<20);
-
以下程序若运行时输入ABC,则输出结果是______。 include include void main(); }
-
下面程序段的运行结果是__________。 include<stdio.h>main(); t ++ ; } }
推荐题目
- 用气相色谱法定量分析样品组分时,分离度至少为()
- 下列诗人属于少数民族的有()。
- 单级压缩式制冷循环由()四大部件组成。
- 绵羊,山羊选种的主要对象是种公羊。()
- 如图箭头所示为颅脑哪个部位()https://assets.asklib.com/psource/201511260902545076.jpg
- 某抵押物市场价值为150万元,其内部评估值为120万元,抵押贷款率为50%,则抵押借款额为()。
- 持卡人的账单日为10号,那他如果在10号消费,只能有最短的()天的免息还款日了。
- 叽哩咕用铁钳扎破汲水怪兽的肚子,山泉突然喷薄而出,导致他溺水。村民们集体吟唱呼唤回叽哩咕灵魂的歌曲,声音缥缈悠远,歌词真诚动人。
- 偏光镜主要用于检测宝石的 ,还可用于判断宝石的 、 及检查宝石的 。
- 口蘑的产地主要有()