Nested Structures in C Programming

Nested Structures

Nested Structures in C: In our previous post, we discussed Structures, and they are pretty good to group different data type members. However, there are some problems, such as listing more number of variables inside the structure and Code repetitiveness. For example, assume we are working with Employee, Student, and Person data. So, we want to … Read more

Difference between Structure and Union in C

Structure Vs Union

In the previous post, we already explained about the Structure and Union. Please refer to Structure and Union posts before going into the differences. Both are used to group different data types to organize data structurally. Structure and Union are similar in syntax with keyword differences. Creating Structure variable and Union variable to access their respective members is the … Read more

Structures in C Programming


In C Programming, Arrays are helpful to store a group of similar data type elements. But, there are some situations where we have to group non-similar data types (int, float, char, etc.). To handle these type situations C programming introduced the concept of Structures. Structures in C are used to group different data types to organize the … Read more