以下程序的运行结果为________。#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 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 void main() { char a[][10] = {'Morning', 'Afternoon', 'Evening', 'Night'}; printf('%s',a[1]); } 程序运行后的输出结果是__________。
有以下程序:#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 ++ ; } }