题目内容

It is not allowed to initial some elements of a two-dimensional array.

查看答案
更多问题

The following options that do not define a 2D array correctly are ( )

A. int a[2][2]={{1},{2}};
B. int a[][2]={1,2,3,4};
C. int a[2][2]={{1},2,3};
D. int a[2][]={{1,2},{3,4}};

If there is a definition: int a[2][3];, the correct reference to a array element in the following options is ( ) .

A. a[2][!1]
B. a[2][3]
C. a[0][3]
D. a[1>2][ !1]

You can also point to a function with a pointer variable.

if there isint (*p)(int,int); int max(int,int); then p=max(a,b); is correct.

答案查题题库