写出以下程序的运行结果( )。 #include \stdio.h\ void sub( int *x, int y, int z) { *x=y-z; } int main() { int a,b,c; sub(&a,10,5); sub(&b,a,7); sub(&c,a,b); printf(\%d,%d,%d\\n\,a,b,c); return 0; }
相似题目
-
写出程序的运行结果。 #include <stdio.h> main() { inta,b; scanf(”%d%d",&a,&b); if(++a>=b) printf(”Yes”); printf("a+b=%d\n",a+b); } 如果输入:a=6,b=8,则输出结果是()。
-
写出程序的运行结果。 #include <stdio.h> main() { int j; for(j=0;j<10;j++) {if (j%2==0) continue; printf("%d",j); } } 该程序的执行结果是()。
-
有以下程序#include<stdio .h>main(){char s[」=”rstuv;printf(”%c\n”,*s+2);}程序运行后的输出结果是
-
写出以下程序运行后的输出结果。 #includestdio.h #include string.h int main() { char st[20]={hello\0\t\\\}; printf(%d,%d\n,strlen(st),sizeof(st)); return 0; }
-
以下程序的运行结果是【 】。 include<stdio.h> main() { int fun(); fun();} fun (
-
有以下程序include<stdio.h>main(){char s[]=“rstuv”;printf(“%c\n”,*s+2);}程序运行后的输出结果是()。
-
有以下程序: include<stdio.h> main() {printf("%d\n",NULL)); 程序运行后的输出结果是()。
-
以下程序的运行结果是()。 include<stdio.h> define MIN(x,y) (x)<(y)? (x):(y)
-
阅读以下程序,写出程序运行后的输出结果是 ______。include<iostream.h>void main(){char a[]={'
-
写出下面程序执行后的运行结果。 include <stdio.h> define N 2 define M N+1 define N
-
【简答题】分析下面的程序,写出程序的运行结果。 include <stdio.h> int main() { char c1='a',c2='b',c3='c',c4='110',c5; c5=c4+1; printf("a%c b%c c%ctabcn",c1,c2,c3); printf("%c %cn",c4,c5); return 0; }
-
有以下程序 include<stdio.h>include<string.h>void fun(); } 程序运行后的输出结果是
-
写出程序的运行结果的第二行输出: 。 include <stdio.h> int main() { int X[4][4]={{11,2
-
有以下程序includ<stdio.h>main(){printf("%"NUL);}程序运行后的输出结果是()
-
写出以下程序的运行结果。
-
有以下程序 include<stdio.h>include<string.h>typedef struct stu { char name[10]; char gender; int score; } STU; void f(); } 程序的运行结果是
-
若运行时输入100↙,写出以下程序的运行结果
-
运行程序输入hello↙和world↙,写出输出结果。 include <stdio.h>
-
有以下程序includ<stdio.h>main(){ int a;(int)(-1.53*3);printf("%"a);}程序的运行结果是()
-
写出下面程序执行后的运行结果。 include <stdio.h> include <math.h> define ROUND(x,m) ((int)((x)*pow(10,m)+0.5)/pow(10,m)) int main() { printf("%f,%f", ROUND(12.3456,1),ROUND(12.3456,2)); return 0; }
-
有以下程序include ’stdio.h’min()} 程序的运行结果是3 B.5C.7 D.8
-
若输入I have a test.,则以下程序的运行结果为【 】。 include<stdio.h> main(); }
-
以下程序若运行时输入ABC,则输出结果是______。 include include void main(); }
-
有以下程序 include<stdio.h> include<stdio.h> intfun()); } 程序的运行结果是10 B.20 C.0 D.出错