Blog Stats
  • Posts - 162
  • Articles - 10
  • Comments - 0
  • Trackbacks - 17

 

Programming - Structures and Unions

In this tutorial you will learn about C Programming - Structures and Unions, Giving values to members, Initializing structure, Functions and structures, Passing structure to elements to functions, Passing entire function to functions, Arrays of structure, Structure within a structure and Union.

Arrays are used to store large set of data and manipulate them but the disadvantage is that all the elements stored in an array are to be of the same data type. If we need to use a collection of different data type items it is not possible using an array. When we require using a collection of different data items of different data types we can use a structure. Structure is a method of packing data of different types. A structure is a convenient method of handling a group of related data items of different data types.

C Programming - Structures and Unions


Feedback

No comments posted yet.


Post a comment





 

 

 

 

Copyright © John Jacob