Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a non-array incomplete type?

All I have found in C11 Standard for incomplete types are incomplete array types.

I was wondering if there is a non-array incomplete type.

like image 340
Tim Avatar asked Oct 15 '25 23:10

Tim


1 Answers

An incomplete type is a type that describes an identifier but lacks information needed to determine the size of the identifier. An "incomplete type" can be

  • A structure type whose members you have not yet specified.

  • A union type whose members you have not yet specified.

  • An array type whose dimension you have not yet specified.

The void type is an incomplete type that cannot be completed

like image 69
RazaUsman_k Avatar answered Oct 17 '25 13:10

RazaUsman_k



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!