Friday, May 16, 2008

What is the difference between structure and union?

structure and union are mostly similar the only difference is in the memory allocation i.e.,structure allocates memory separately for each variable where as union allocates memory common to all its variables declared in it.

No comments:

Contributors