English, asked by Anonymous, 2 months ago

What is Structure? Explain Array of Structure with suitable example.​​

Answers

Answered by kashvichaurasia819
1

Answer:

The most common use of structure in C programming is an array of structures. To declare an array of structure, first the structure must be defined and then an array variable of that type should be defined. For Example − struct book b[10]; //10 elements in an array of structures of type 'book

Explanation:

Kashuuu~

Answered by bhumiraj1234
1

Explanation:

A Structure is one of the 5 data types in programming. A structure is used to represent information about something more complicated than a single number, character, or boolean can do (and more complicated than an array of the above data types can do).

An array of structres in C can be defined as the collection of multiple structures variables where each variable contains information about different entities. Let's see an example of an array of structures that stores information of 5 students and prints it.

Similar questions