#include
main( )
{ double a[15],k;
k=fun(a); ....... }
则以下选项中错误的fun函数首部是( ) A . double fun(double a[l5])
B . double fun(double *a)
C . double fun(double a[ ])
D . double fun(double a)
fun(a)其中的a就代表数组a第一个元素的地址
A.输入为数组
B.输入为指针,也就是数组第一个元素的地址
C.输入为数组,跟A基本一样
D.这个输入的就是双精度浮点型,也就是一个带小数点的数字了,很明显错了
所以选D


![以下程序的主函数中调用了在其面前定义的fun函数#include<stdio.h>main( ){double a[15],k;k=fun(a)}则以下选项中错误的fun函数首部是 以下程序的主函数中调用了在其面前定义的fun函数#include<stdio.h>main( ){double a[15],k;k=fun(a)}则以下选项中错误的fun函数首部是](http://www.mshxw.com/aiimages/31/675917.png)
