以下程序的执行结果为____。include “stdio.h” float fun(int x,int y){ return(xy); }main(){ int a=2,b=5,c=8; printf(“%.0f”,fun((int)fun(a+b,c),a-b));}
相似题目
-
有以下程序,程序的运行结果是 _________ 。 #include void main() { char ch='Z'; ch=(ch-'A'+1)%26+'A'; putchar(ch); }
-
以下程序的输出结果是______。char st[20]=hello\0\t\\
-
以下程序运行后输出的结果是________。 #include main() { int k=011; printf(%d\nk++); }
-
有以下程序: #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 void main() { int y=10; while(y--); printf('y=%d',y); } 程序执行后的输出结果是_______。
-
以下程序执行后的输出结果是________。 #include \stdio.h\ void main() { int i; for(i=1;i<=40;i++) { if(i++%5==0) if(++i%8==0) printf(\%d\,i); } printf(\\\n\); }
-
以下程序的运行结果是_______。#include main(){struct st{int n;struct st *np;};struct st a[3],*p;a[0].n=7;a[0].np=&a[1];a[1].n=9;a[2].np=&a[2];a[2].n=11;a[0].np='\\0';p=&a[0];printf(\%d\\n\,++p->n);}
-
有下列程序 #include void main() { int a=0,b=0,c=0; if (++a || ++b && ++c) printf('%d,%d,%d', a, b, c); } 程序执行后的输出结果是________。
-
有以下程序:#include\stdio.h\main(){char c;while((c=getchar())!=’?’)putchar(--c);}程序运行时,如果从键盘输入:Y?N?,则输出结果为_________。
-
以下程序的可执行文件名为abc.exe。#include#includevoid main(intargc,char *argv[]){if(argc!=2){printf(\Input error\\n\);exit(1);}printf(\I love %s\\n\,argv[1]);}在DOS命令行输入:abc right,则输出结果是__________
-
有以下程序 include <stdio.h> main() { char a=4; printf("%d/n,a=a<<1); } 程序的运行结果是______。
-
下列程序的执行结果是______。include<stdio.h>union un{int i; char c[2};};void main(){union
-
以下程序的运行结果是 _____________ include "stdio.h" void main()x=%d y=%d z=%d
-
要求下面的程序运行后,显示如下结果: 2 10 4 6 1 5 2 3 2 4 7 8 5 1 3 2 下列程序执行后的输出结果是________。 include void main(); }
-
有以下程序 include <string.h> main(int argc, char *argv[]) {int i=1,n=0; while(i<argc) {n=n+strlen(argv[i]);i++;} printf("%d\n",n); } 该程序生成的可执行文件名为:proc.exe。若运行时输入命令行: proc 123 45 67 则程序的输出结果是______。
-
阅读以下程序,写出程序运行后的输出结果是 ______。include<iostream.h>void main(){char a[]={'
-
以下程序的输出结果是 ______。include<iostream.h>void main() {char w[][10]={ "ABC", "DEFGH"
-
以下程序的输出结果是______。include<stdio.h>main(){int a=200;define a 100printf("%d",a) ;
-
以下程序的输出结果是 ______。include<iostream.h>void main(){ inti,j;for(j=10;j<=11;j++){fo
-
以下程序的运行结果是________。 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(); }
-
以下程序若运行时输入ABC,则输出结果是______。 include include void main(); }