The C compiler does not check that the subscript is out of bounds even though the two arrays are of the same type and size, they cannot be checked for equality. Cannot assign an array to another array as a whole two -dimensional array: The most commonly used multidimensional array, An array of two one-dimensional arrays can be thought of as a representation of a two-dimensional array of tables consisting of rows and columns: type specifier array name [constant expression 1][constant expression 1]; Example: int temp[4][3]; The C language does not have a specific string variable, and the storage of the string must be implemented by a character array. A one-dimensional character array is used to store 1 strings, each of which holds 1 characters. A two-dimensional character array is used to store multiple strings at the same time (each row stores 1 strings). The null character ' \ s ' is automatically added to the internal representation of the string, and it occupies memory but does not remember that the string length character array is defined, initialized, and the element's reference is the same as the normal array. String constants can be assigned to string variables
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Past Notes Migration __ Array