下面程序的运行结果是______。#include#includevoidmain(){charp1[50]=”abc”,*p2,str[50]=abc
运行以下程序时,输出结果是______。 #include long fit(int n) { if(n>2) return(fit(n-1)+fit(n-2)); else return(3); } int main( ) { printf(%ld\n,fit(4)); }
有以下程序,程序的运行结果是 _________ 。 #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#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 > #include < string.h > main() { char a[7]=\abcdef\,b[4]=\ABC
有以下程序 include <stdio.h> main() { char a=4; printf("%d/n,a=a<<1); } 程序的运行结果是______。
以下程序的运行结果是 _____________ 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<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 int workover() { i=i<=2 5:0; return i; }
以下程序运行后的输出结果是 ______。 include <stdio.h> struct NODE { int k; char s[20
以下程序运行后输出的结果是______。 include <stdio.h> main() int x=20; printf("%d",0<x<20); pnntf("%d",0<x&&x<20);
阅读以下程序,其运行结果是______。 include <stdio.h> int main() { int i; for(i='a';i<'f';i++,i++) printf("%c",i-'a'+'A'); printf("n"); return 0; }
以下程序若运行时输入ABC,则输出结果是______。 include include void main(); }
下面程序段的运行结果是__________。 include<stdio.h>main(); t ++ ; } }