网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

以下程序运行后的输出结果是【7】。

include<stdio.h>

main()

{ int a=37;

a%=9;printf("%d\n",a);

}


参考答案

更多 “ 以下程序运行后的输出结果是【7】。includestdio.hmain(){ int a=37;a%=9;printf("%d\n",a);} ” 相关考题
考题 有以下程序:includcstdio.hvoid fun(int *p){printf(%d\n,p[5]);}main( ){int a[10]={1,2,3,4,5,6,7,8,9,10};fun(a[3]);}程序运行后的输出结果是( )。A.5B.6C.8D.9

考题 以下程序运行后,输出结果是______。 fut(int**s,int p[2][3]) {**s=p[1][1];} main() { int a[2][3]={1,3,5,7,9,11}, *p; p=(int*) malloc (sizeof(int)); fut(p,a); printf("% d\n",*p); }A.1B.7C.9D.11

考题 以下程序运行后,输出结果是______。 fun(int**s,int p[2][3]) {**s=p[1][1]; } main() { int a[2][3]={1,3,5,7,9,11},*p; p=(int *)malloc(sizeof(int)); fun(p,a); printf("%d\n",*p); }A.1B.7C.9D.11

考题 以下程序运行后,输出结果是 ( ) fut(int * * s,int p[2][3]) { * * s=p[1][1];} main( ) { int a [2] [3]= {1, 3, 5, 7, 9, 11}, * p; p=(int * )malloc (sizeof(int)); fut(p,a); printf("%d\n",* p); }A.1B.7C.9D.11

考题 以下程序运行后, 输出结果是______。 fut (int **s,int p[2] [3]) { **s=p[1] [1];} main () { int a[2] [3]={1,3,5,7,9,11},*p; p=(int *)malloc(sizeof(int)); fur (p,a); printf ("%d\n", *p); }A.1B.7C.9D.11

考题 有以下程序 #includestdio.h void fun(int x) {if(x/21)fun(x/2); printf("%d",x); } main {fun(7);printf("\n");} 程序运行后的输出结果是( )。A.1 3 7B.7 3 1C.7 3D.3 7

考题 有以下程序#includestdio.hvoid fun(int*p){printf("%d\n",p[5]);}main(){ int a[10]={1,2,3,4,5,6,7,8,9,10};fun(a[3]);}程序运行后的输出结果是A.5B.6C.8D.9

考题 有以下程序: #includcstdio.h void fun(int *p) {printf("%d\n",p[5]);} main( ) {int a[10]={1,2,3,4,5,6,7,8,9,10}; fun(a[3]); } 程序运行后的输出结果是( )。A.5B.6C.8D.9

考题 试题7以下程序运行后的输出结果是______。#include stdio.hmain(){ int a=37; a%=9; printf(“%d\n”, a); }