当前位置: 答题翼 > 问答 > 计算机类考试 > 正文
目录: 标题| 题干| 答案| 搜索| 相关
问题

有如下程序段#include "stdio.h"void fun(int *a,int *b,int *c,int *d,int *e){ int i,j,k,m;


有如下程序段#include "stdio.h"void fun(int *a,int *b,int *c,int *d,int *e){ int i,j,k,m; for(i=0;i< *a;i++) for(j=0;j< *b;j++) for(k=0;k<*c;k++) for(m=0;m< *d;m++) ++*e;}main(){ int a=10,b=10,c=10,d=10,e=0; fun(&a,&b,&c,&d,&e); printf("%d\n",e);} 则程序段的输出结果是A.10000 B.1000 C.100 D.0

参考答案
您可能感兴趣的试题
  • 有以下程序:include&lt;stdio.h&gt;main(){ char*s=&quot;[2]34&quot;;int k=0,a=0; whil(s[k+

  • 有以下程序:include &lt;stdio.h&gt;main(){ int a=2,b; b=a$amp;<amp;$lt;2;printf(&quot;%d &quot

  • 有以下程序include&lt;stdio.h&gt;main{ int a=1,b=2,c=3,x;x=(a^b)&C;printf(&quot;%d&quot;,x)

  • 有如下程序段#include "stdio.h"typedef struct aa{ int a; struct aa *next;} M;void set(M *

  • 有如下程序:#include<stdio.h>main{ FILE*fp1;fp1=fopen("f1.txt" "w"

  • 有以下程序:include <stdio.h>main( ){ int a=2 b; b=a<<2;printf("%d "