Sizeof Operator 04:42:00 The size of structure and union can be defined by the sizeof operator. #include <stdio.h> #include <conio.h> struct ...Read More
How to Initialize Union 04:36:00 Although union members are referred in the same manner as that of structure members but all the members cannot be initialized together...Read More
Unions in C 04:33:00 Union is another way to group data items of different types. It is a block of memory that is used to hold data items of different type...Read More
Structure and Pointers 04:26:00 Pointers cannot hold the address of primitive types but also can hold the address of user-defined types such as structures. The addres...Read More
Accessing Structure Members 04:22:00 Once structure has been defined, its members can be accessed using dot operator (.) Thus , linking a variable with a member with a dot...Read More
Initializing Array of Structures 04:15:00 An array of structures can be assigned initial values just as any other array can. Each array element is a structure that must be assi...Read More
Array of Structure 04:13:00 Array of a structure refers to an array in which each element is a structure, having same named members and of the same data type. Thu...Read More
Structure Initialization 03:52:00 The structure variables can also be initialized like variable of any other data types. A structure variable is initialized with values...Read More
Structure Definition 03:32:00 When a structure is declared, there is no memory allocated for storing any data. The memory is set aside to any structure only when it...Read More
How to Declare Structures in C 03:19:00 A structure declaration specifies the grouping of variables of different types in a single unit. It simply acts as a template or bluep...Read More
Introduction of Structures in C 21:56:00 So far, we have been dealing with variables that can hold one value at a time and arrays that can hold a number of values but all shou...Read More