Last updated: Feb 25, 2022

Structures and Unions

Structure is a user-defined data type that allows us to combine data of different types together. Unions are conceptually similar to structures. The only difference is in terms of storage. Union uses a single shared memory location which is equal to the size of its largest data member whereas in structures each member has its own storage location.
Structures in C EASY
Lean structures in c with Declaring, Accessing, Initialization of structure variables, and Pass Structures to Functions in C. Define structure in c with syntax and FAQS.
Structures and Functions
In this blog, We will learn about structures and functions.
Types of Structures in C EASY
In this article, we will discuss the different types of structures in C, their declaration, definition, initialization, & use cases. We will also look into topics like structure pointers, nested structures, bit fields, & the limitations of structures in C.
Difference Between Structure and Union EASY
Learn the key difference between structure and union in C. Understand how structure groups different data types and how union manages memory efficiently.
Array of Structures in C EASY
This blog will discuss an important theoretical concept, namely the Array of Structures.
Introduction to Enum
In this article, we will discuss Enum in C language.
Difference between structure and union in C EASY
This article discusses the difference between structure and union in c with examples . Read more about similarities, advantages , disadvantages and drawbacks of structure and union in c.