How are structures declared in C?

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. */ }; Here tag_name is optional in some contexts.

Sizin İçin Seçtik  What is declaration keyword of structure?

Leave a Reply

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