Structures in C Language
C Programming Structure In this article you will learn about structures in C language.What is it, how to define it and use it in your program. structure: It is a Collection of variables of different types under a single name. struct student{ char name[50]; int age; float percentage; }; Here Struct is the keyword used to define structure and student is the name of the structure. Creating Structure Variable: struct student{ char name[50]; int age; float percentage; }struct student s1,s2,s3; Here S1,S2,S3 are the structure variables.We can access the members of the structures using these variables. There are two types of operators used for accessing members of a structure. Member operator(.) Structure pointer operator(->) ...