What the advantages of using Unions?

Showing Answers 1 - 2 of 2 Answers

yogeshpanda

  • Sep 22nd, 2005
 

It`s main advantage is in terms of the memory. For exmple if a union & structure have thee int and one float in it`s data member,then the size of the structure is 10 (2*3+4), whereas the size of the union is only 4 (the size of the float, the largest one in this union). 

  Was this answer useful?  Yes

debbie

  • Jul 25th, 2006
 

What are the advantages of using credit unions?

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions