What is struct used for in C?

A struct in the C programming language (and many derivatives) is a composite data type (or record) declaration that defines a physically grouped list of variables under one name in a block of memory , allowing the different variables to be accessed via a single pointer or by the struct declared name which returns the …

Sizin İçin Seçtik  How structures are declared and initialized in C?

Leave a Reply

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