array type has incomplete element type

array type has incomplete element type.

Description


The definition of an array with multiple subscripts is missing a subscript value for a dimension higher than one.

Example


array type has incomplete element type
array type has incomplete element type

Output


output: array type has incomplete element type
output: array type has incomplete element type

How to fix it ?


To resolve this error, You need to define the subscript value .

syntax


<type>  <arrayName> [ <Size1> ] [ <Size2> ];

type : any valid C data type.

Size: integer constant greater than zero.

See also


Subscribe to our channel.

Leave a Reply

Your email address will not be published. Required fields are marked *