首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
设int f (int);和int g(int);是函数f和g的原形,以下将f作为语句调用的是______ 。
设int f (int);和int g(int);是函数f和g的原形,以下将f作为语句调用的是______ 。
admin
2009-01-15
24
问题
设int f (int);和int g(int);是函数f和g的原形,以下将f作为语句调用的是______ 。
选项
A、g(f(3))
B、f(g(3));
C、g(f(3)+2);
D、p=f(g (3)+1);
答案
8
解析
p=f(g(3)+1):函数f被作为一个语句调用。
转载请注明原文地址:https://kaotiyun.com/show/Vakp777K
本试题收录于:
二级C题库NCRE全国计算机二级分类
0
二级C
NCRE全国计算机二级
相关试题推荐
下列关于C语言数据文件的叙述中正确的是()。
若a是数值类型,则逻辑表达式(a==1)||(a!=1)的值是()。
为了建立如图所示的存储结构(即每个结点含两个域,data是数据域,next是指向结点的指针域)则在()处填入的选项是()。structlink{chardata;()}node;
以下程序依次把从终端输入的字符存放到f文件中,用#作为结束输入的标志,则在横线处应填入的选项是#include<stdio.h>main(){FILE*fp;charch;fp=f
下列关于二叉树的叙述中,正确的是()。
若有以下定义:intx[10],*pt=x;则对x数组元素的正确引用是()。
设有关键码序列(66,13,51,76,81,26,57,69,23),要按关键码值递增的次序排序,若采用快速排序法,并以第一个元素为划分的基准,那么第一趟划分后的结果为()。
对长度为n的线性表排序,在最坏情况下,比较次数不是n(n-1)/2的排序方法是()。
给定程序MODI1.C中函数fun的功能是:根据整型形参m,计算如下公式的值。例如,若m=2000,则应输出:0.000160。请改正程序中的语法错误,使它能计算出正确的结果。注意:不要改动main函数,不得增行或删行,也不
设有表示学生选课的三张表,学生S(学号,姓名,性别,年龄,身份证号),课程C(课号,课名),选课SC(学号,课号,成绩),则表SC的关键字(键或码)为()。
随机试题
男性,40岁,因患再障全血细胞减少明显行输血治疗,输至30分钟时突然怕冷、寒战,试表39.5℃,第一步的立即处理是
下列关于非洲猪瘟的描述,错误的是
债权转让的法律特征为()。
上市公司增发的发行方式包括( )。
下列各项中,能同时引起负债和所有者权益发生变化的是()。
汉地佛寺三佛同殿的合称、常见的布局及表法意义()。
下列公文标题表述不正确的是()。
级进
A.非选择性门体分流术B.单纯脾切除C.贲周血管离断术D.肝移植对于门静脉高压症的治疗,急诊手术常选用的手术方式是
在SQLServer2008中,建立索引视图的目的是为了提高数据查询的效率。下列关于索引视图的说法,错误的是()。
最新回复
(
0
)