题库大全
查看
题库大全
题库
考试培训
财会类题库
网络知识
作业答案
作业习题
蚂蚁庄园答案
当前位置:
题库大全
作业答案
下列二维数组的说明中,不正确的是
下列二维数组的说明中,不正确的是
发布时间:2021-04-06 03:47:36
单项选择题:
下列二维数组的说明中,不正确的是( )。
A) floata[][4]=0,1,8,5,9;
B) inta[3][4];
C) #define N 5
D) inta[2][9.5];
float a[N][3];
网友回答
答案:D
解析: C语言规定,对于二维数组,只可以省略第一个方括号中的常量表达式,而不能省略第二个方括号中的常量表达式;二维数组的一般定义格式:类型说明符数组名[常量表达式Ⅱ常量表达式)。
以上问题属网友观点,不代表本站立场,仅供参考!
上一条:
下面程序的输出是()。 main() int x=3,y=6,a=0; while(x++!=(y-=1)) a+=1
下一条:
设有定义:char s[8];int i=O;,以下不能将—行(不超过80个字符)带有空格的字符串
资讯推荐
Hard work is no of an excellent school record. You have to pay equal
If you must stick to your idea, you can do it. But as far as I’m concerned
The editorial work has always had a great to me as I have some ability
To our relief, scientists have made a great in the treatment of
When buying a car, many people have a strong for silver cars, which
It was rather a that she appeared in front of him at the exact moment
She went through a period of emotional after her marriage broke up
In dealing with public relations, we should make every effort to prevent
Some economists were sent to study the local market to find the there
The pop singer rejected his concert scheduled for tonight because
It’s reported that many wars broke out in the Middle East. What
More and more teaching are being developed across the globe
Encourage your children to reach a(n) between what he wants and
( )对于商品经济社会相当于( )对于生命肌体
如果二氧化碳大量地产生,它将聚集在大气中引起温室效应,包括
教育部:财政部:国家
改革户籍制度已经成为某市当前社会改革的重要内容之一,其要点就是
夏天:空调
某市实行人才强省战略,2010年从国内外引进各类优秀人才1000名
当前,有学者指出,物业税改革会增加房屋的持有成本,从而增加房产
某集团公司有四个部门,分别生产冰箱、彩电、电脑和手机。根据前三个季度
水银是最致命的毒素之一,而在牙医补牙时用的汞合金填充物中
有科学家此前已经发现,生活在高原地区寒冷水域中的蛤蜊,寿命可比
科学家发现,将一种从植物病毒中提取的基因注射到一种易受该病毒
科学研究表明,大量吃鱼可以大大减少患心脏病的危险,这里起作用的
函数fseek()的正确调用形式是
在一个C语言源程序文件中所定义的全局变量,其作用域为
如果需要打开一个已经存在的非空文件“FILE”并进行修改,正确的语句是
有以下程序: fun(char p[][10]) int n=0,i;for(i=0;i<7;i++)
有下列程序: #include<stdio.h> int fun(int x,iny y) if(x==y)return(x);
返回顶部