单项选择题
有以下程序: int fa(int x) { return x *x;} int fb(int x) { return x *x *x;} int f(int( *f1)( ),int( *f2)( ),int x) { return f2(x)-f1(x);} main( ) { int i; i=f(fa,fb,2);printf("%d\n",i); } 程序运行后的输出结果是( )。
A.-4
B.1
C.4
D.8
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
有以下程序#include <stdio.h>main( ){ printf( %d n ,NULL); }程序运行后的输出结果是( )。
A.0
B.1
C.-1
D.NULL没定义,出错
点击查看答案
相关试题
以下程序中函数scmp的功能是返回形参指针s...
有以下程序(提示:程序中fseek(fp,-2L...
有以下程序:void sort(int a[],int...
有以下程序:struct STU{ char name[...
以下程序中函数reverse( )的功能是将a所...