• admin@embedclogic.com

Array of Structure

We know that array is the collection of similar data type elements. If we collect data type ‘struct’ then it is known as “Array of structure”.

Syntax
Example

or

In above two structure – ’emp’ is an array of 5 ’empInfo’ type structure.

Program

Output:

Subscribe and stay updated with our latest articles.

You have successfully subscribed to the newsletter

There was an error while trying to send your request. Please try again.

Embedclogic will use the information you provide on this form to be in touch with you and to provide updates and marketing.