Thread: Unions problem
View Single Post
Newbie Member
12Aug2011,14:54  
mahesh113's Avatar
union fun
{
char c;
int i;
double d;
};

If a function set one of the member of fun, but we don't know which member is set as we can see the function call and how can we know after calling that function, that which member of union fun has been set by that function call.

please tell me and admin please don't delete my post this time.