题目内容

If there is a definition statement: int m[] = {5,4,3,2,1}, i = 4;the error in the following reference to the m array element is ( ).

A. m[--i]
B. m[2*2]
C. m[m[0]]
D. m[m[i]]

查看答案
更多问题

The following description of arrays is correct ( ).

A. The size of an array is fixed, but there can be different types of array elements
B. Array size is variable, but all array elements must be of the same type
C. The size of the array is fixed and all array elements must be of the same type
D. The size of an array is variable and can have different types of array elements

A C source program can be composed of a main function and several other functions.

A C language program consists of one or more source program files.

C language is made up of ( ).

A. main program and subprogram
B. main function and some subfunctions
C. One main function and one other function
D. main function and subprogram

答案查题题库