单项选择题

以下能正确定义二维数组的是( )。

A.int a[][3];
B.int a[][3]=2*3;
C.int a[][3]=;
D.int a[2][3]=1,2,3,4;
<上一题 目录 下一题>
热门 试题

单项选择题
有以下函数: mt aaa(char*s) char *t=s; while(*t++); t--; return(t-s); 以下关于aaa函数的功能的叙述正确的是( )。
A.求字符串s的长度
B.比较两个串的大小
C.将串s复制到串t
D.求字符串s所占字节数
单项选择题
有以下程序: #include <stdio.h> main() int.a[]=1,2,3,4,5,6,7,8,9,10,11,12,,*p=a+5,*q=NULL; *q=*(p+5); printf( %d %d n ,*p,*q); 程序运行后的输出结果是( )。
A.运行后报错
B.6 6
C.6 11
D.5 10
相关试题
  • 有以下程序: int fun(int x[],int...
  • 有以下程序: #include <stdio.h> m...
  • 有以下程序: #include <stdio.h> ...
  • 有以下程序: main() int a=15,b...
  • 若有以下说明和定义: typcdef int*INTE...