-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ravikiran wrote:
> I want know the differences between Unions and Structures in C
> programming.
The size of union is the size of its largest member. In most
implementations (but standard does *not* require it) all members of
union are placed at the same location in memory.
Structures are just "normal" groups of variables.
Pawel Dziepak
PS I really shouldn't help you that way, there is a lot of information
about structures and unions in many FAQs, articles, etc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora -
http://enigmail.mozdev.org
iEYEARECAAYFAkkO3r4ACgkQPFW+cUiIHNp5SwCgsATEiHUwMy Ad4dGgVJQQAUR2
MCoAn1+6G5wqv5h6JBxjP3x++K5SDBLT
=z5G+
-----END PGP SIGNATURE-----