in this tutorial in Hindi you will learn about Anonymous Structures in C Programming language.
After that we can create the variables from the structure that we have defined.
To access the members of a structure using structure variable we use . ( dot operator ) also called as structure member operator.
When we define a structure without any name we call it as Anonymous structure. if you define an anonymous structure then you have to create the variables while defining the structure.
A Structure is a collection of related variables under one name. When we define a structure in our C Program, we get a new datatype which can contain variables of different datatypes.
Structures are called as derived datatypes because they are created by using other types available in the language.
To define a structure we use the keyword struct.
The syntax is as follows.
struct structure_tag{
structure member1;
structure member2;
....
};
our website
https://www.LearningLad.in
social media
Facebook / learningladhindi
Twitter / llhindi
Instagram / learningladofficial
Learn#WithMe