首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
下面程序的运行结果是( )。 #define POW(r)r*r main() {int x=2,y=3,t; t=POW(x+y); printf("%d\n",t); }
下面程序的运行结果是( )。 #define POW(r)r*r main() {int x=2,y=3,t; t=POW(x+y); printf("%d\n",t); }
admin
2011-06-10
31
问题
下面程序的运行结果是( )。 #define POW(r)r*r main() {int x=2,y=3,t; t=POW(x+y); printf("%d\n",t); }
选项
答案
11
解析
转载请注明原文地址:https://kaotiyun.com/show/yxPp777K
本试题收录于:
二级C语言题库NCRE全国计算机二级分类
0
二级C语言
NCRE全国计算机二级
相关试题推荐
有以下程序 main( ) { int a[ ][3]={{1,2,3},{4,5,0}},(*pa)[3],i; pa=a; for(i=0;i
下列叙述中正确的是
设有如下程序段: intx=2002,y=2003; printf("%d\n",(x,y)); 则以下叙述中正确的是
以下sum函数的功能是计算下列级数之和。 [*] 请给函数中的各变量正确赋初值。 double sum(doublex,intn) { int i; double a,b,s; 【】 for(i=
下列选项中,不能用作标识符的是
在关系数据库中,将数据表示成二维表,每一个二维表称为______。
下列关于单目运算符++、--的叙述中正确的是
若有如下结构体说明:structSTRU{inta,b;charc:doubled;stmctSTRU*p1,*p2;};请填空,以完成对t数组的定义,t数组的每个元素为该结构体类型。【】t[20]
以下程序中函数f的功能是将n个字符串按由大到小的顺序进行排序。#include<string.h>voidf(charp[][10],intn){chart[20];inti,j;for(i=
随机试题
自动化仪表工程在系统投运前应进行()试验。
一旦合同成立即具有法律效力,无论是在何种情况下订立的合同都将不能变更或撤销。()
根据国内民航运输有关规定,()无权援用法定的行李赔偿责任限额。
征收土地的,按照被征收土地的原用途给予补偿。征收耕地的补偿费用包括()。
赫尔巴特被认为是“现代教育学之父”,他的《普通教育学》被公认为是第一本现代教育学著作。()
黄花岗起义
鲁迅笔下的阿Q,对于自己进监牢并不烦恼,而以为“惟有圈而不圆,却是他‘行状’上的一个污点”。不仅如此,鲁迅用一百多字详尽描写“阿Q立志要画得圆”却未能如愿的过程,其用心又是什么?鲁迅在《阿Q正传》中并没有解答的问题却在杂文中显示了解答的钥匙。鲁迅认
幼儿园教师看到小朋友哭泣,就会很自然地进行安慰,这种行为几乎成了一种下意识的表现。这属于()。
设与对角矩阵相似.求正交变换x=Qy将f(x1,x2,x3)=xTAx化为标准形;
电子商务的安全是通过加密手段来达到的。电子商务系统中使用的主要加密技术是()
最新回复
(
0
)