+1 to sagar.
@vartika: if you don't know the concept of Union then understanding this
program will be quite lenghty, because it will involve lot of calculation.
try to check some simple examples, like:
union a
{
int a;
char c;
};
int main()
{
union a xy;
xy.a=65;
printf("%c",xy.c);
xy.c=65;
printf(" %d",xy.a);
return 0;
}
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/algogeeks/-/_FK5paJXWCEJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/algogeeks?hl=en.