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

以下程序的输出结果是______。fun(int x int y int z){z=x*x+y*y;}main(){int a=31;fun(5 2 a);pr


以下程序的输出结果是______。 fun(int x,int y,int z) {z=x*x+y*y;} main() { int a=31; fun(5,2,a); printf("%d",a); }

A.0

B.29

C.31

D.无定值

请帮忙给出正确答案和分析,谢谢!

参考答案
您可能感兴趣的试题
  • 试题11以下程序运行后的输出结果是______.#include <stdio.h>void fun(int x){ if(x/5>

  • 下列程序执行后输出的结果是______。 int d=1; fun(int p) {int d=5;d+=p++;printh(\%d d); } m

  • 以下程序的输出结果是______。#includestruct stu{int num; char name[10]; int age;};v

  • 以下程序的输出结果是______。 long fun(int n){long s; if(n==1 || n==2)s=2; else s=n-fun(n-1)

  • 以下程序的输出结果是 ______ 。fun(int x int y int z){z=x * x + y * y;}main(){int a=31; fun(

  • 以下程序的输出结果是_______。main(){int w=5;fun(w);printf(\ );}fun(int k){if(k>0) fun(k-1