CodePudding user response:
Standard grammar should only supports float a [2] [3] [4].Extended syntax is the compiler support is not supported
CodePudding user response:
the second errorCodePudding user response:
In c/c + + should have no float (2 and 4] such aCodePudding user response:
"C + + Primer version 5 Chinese version" mentioned:When the elements of an array is an array, usually use two dimensions to define it: a dimension according to the array itself size, another dimension said its elements (and arrays), the size of the
So,
float a [2] [3] [4].
Said have 2 a of the array elements, each element is the size of the [3] [4]
CodePudding user response:
A [2] [3] [4] : this is the C standard grammar,A [4] 2: this had not seen in the C language,
CodePudding user response:
The second form has never seen, may be there is similar written in python, C language is an ancient language, should do not support the new wording,CodePudding user response:
Is not a Python, Pascal, Pascal in a [2] [3] [4], a [2] [3, 4], a [2, 3] [4], a [4] 2 equivalent