单项选择题

若已定义的函数有返回值,则以下关于该函数调用的叙述中错误的是

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;
相关试题
  • 有以下程序main( ){ int t=1,i=...
  • 下面程序的运行结果是:【 】。#include...
  • 以下程序的功能是调用函数fun计算:m=1-...
  • 下面程序的运行结果是:【 】int f( in...
  • 设有定义:int n,* K=&n;以下语句将...