By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,171 Members | 1,037 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,171 IT Pros & Developers. It's quick & easy.

union

P: n/a
union
{
int ival;
char ival;
}u;
main()
{
u={1,'2'};
printf("%d",sizeof(u));
}

can someonw help me in knowing how to do this?

Mar 8 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.