单项选择题
若已定义的函数有返回值,则以下关于该函数调用的叙述中错误的是
A.函数调用可以作为独立的语句存在
B.函数调用可以作为一个函数的实参
C.函数调用可以出现在表达式中
D.函数调用可以作为一个函数的形参
点击查看答案
<上一题
目录
下一题>
热门
试题
单项选择题
有以下程序 main() {int i,j;for(i=1;i<4;i++) {for(j=i;j<4;j++) printf( %d*%d=%d ,i,j,i*j);Printf ( \n );}}程序运行后的输出结果是【 】。
A.1*1=11*2=21*3=3
B.1*1=1 1* 2=2 1*3=3 2*1=2 2*2=4 2*2 =4 2* 3=63*1=3 3*3=9
C.1*1=1
D.1*1=1 1*2=2 2*2=4 2*1=2 2*2=4 1*3=3 2*3=6.3*3=9 3*1=3 3*2=6 3*3=9
点击查看答案&解析
单项选择题
以下选项中不能正确把c1定义成结构体变量的是( )。
A.typedef struct { int red; int green; int blue; } COLOR; COLOR cl;
B.struct color cl { int red; int green; int blue; }
C.struct color { int red; int green; int blue; } cl;
D.struct { int red; int green; int blue; } cl;
点击查看答案
相关试题
有以下程序:struct STU{char name[1...
有以下程序#include main() {FILE ...
有以下程序:int a=2;int f(int n)...
有以下程序 #include main(){FILE ...
下面程序的功能是输出以下形式的金字塔图案...