What is the syntax for declaring a structure in C?

Declaration. The general syntax for a struct declaration in C is: struct tag_name { type member1; type member2; /* declare as many members as desired, but the entire structure size must be known to the compiler.

Sizin İçin Seçtik  How do you check react Redux is installed or not?

Leave a Reply

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