We know that arrays can be used to represent a collection of elements of the same data type like int, float etc. They cannot be used to hold a collection of different types of elements. C supports a structured data type known as astructure, a way for packing data of different data types. A structure is a convenient tool for handling a group of logically related data items. For example, it can be used to represent the details of a student or the details of a text book etc. Definition: A structure is a collection of heterogeneous data elements referred
The post How to work with data structures in C programming appeared first on Coding Security.
How to work with data structures in C programming
read more
Tidak ada komentar:
Posting Komentar