Unions A union is a grouping different kind of data ans show it is user defined data type.So what is different between structure and union? In structure individual member are having separate memory location,while in union all the members occupy same memory location.So only one memory location can be used to store all elements on union so that art a time only one member will have correct value in it. For Example.. struct stud union stud { ...
This blogs are useful to all new beginners in IT filed.I always try to put something useful and some important to you,and anything you like to learn or want to know than put in comments i'll definitely process and answer you guys.