Knowledge Points:
(1) The two-dimensional array is defined as:
Type an array group name [line length] [column length];
(2) referring to the elements of a two-dimensional array to make two subscript, the subscript and column subscript, in the form of:
Array name [row subscript] [column subscript]
(3) The reasonable range of subscript is [0, line length-1], the column subscript reasonable value range is [0, column length-1].
(4) The branch assigns the initial value, the general form is:
Type an array group name [line length] [column length]={{initial value table 0},...,{initial value table K}, ...};
The data in the initial value table K can then be assigned to the elements of line K at once.
(5)
The order is assigned an initial value in the general form:
Type an array group name [line length] [column length]={initial table};
The data in the initial value table can be assigned to the element one time, depending on the order in which the array elements are stored in memory.
(6) Two-dimensional array initialization is, if all elements are assigned the initial value, or the branch to kill, in the initial table listed in all rows, you can omit the length of the line.
(7) A character array is used to hold character data, which is defined, initialized, and referenced to a single-dimensional array of other types.
Forms such as: Char str[80];
(8) A string constant is a sequence of characters enclosed in double quotation marks, a string of characters that has an end sign of ' \ s '.
The difficulties and feelings encountered:
This homework before two problems, but the writing process because the two-dimensional array is not skilled so write some unnecessary cumbersome code, the latter two jobs feel no clue, after the online review understand the principle, but writing up or there is some vague place, Currently for two-bit arrays and strings this piece is not considered a thorough, although not floating on the surface, but will have to be more pondering.
Application of Job 92-D array and character array