Re: sizeof a union
- From: Mark McIntyre <markmcintyre@xxxxxxxxxxx>
- Date: Tue, 29 Nov 2005 17:02:15 +0000
On Tue, 29 Nov 2005 23:10:34 +0800, in comp.lang.c , "Mockey Chen"
<mockey.chen@xxxxxxxxxx> wrote:
>My friend ask me a question as following:
of the size of a union or struct
>My compiler tell me the answer is 6.
>I want to know why the answer is 6.
This is a FAQ.
--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.ungerhu.com/jxh/clc.welcome.txt>
----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
.
- Prev by Date: More questions on realloc
- Next by Date: Re: Advanced C
- Previous by thread: Re: sizeof a union
- Next by thread: Re: sizeof a union
- Index(es):
Relevant Pages
|