Skip to main content

Structures in C


Structures in C

In this part you will learn: 1. C syntax 2. Structure variable 3. Structure declaration 4. Structure accessing 5. Showing output

What is a Structure?

Structure is a user-defined data type in C which allows you to combine different data types to store a particular type of record. Structure helps to construct a complex data type in a more meaningful way. Structure helps when you have to store a collection of data of many similar things or people etc. It is somewhat similar to an array. The difference is that an array is used to store a collection of similar type of

Add new comment

File attachments