Date: Sun, 14 Mar 1999 16:50:32 -0500 (EST) From: Mark Turpin <mturpin@saturn.spel.com> To: questions@freebsd.org Subject: Programming Question Message-ID: <Pine.BSF.4.05.9903141646550.6443-100000@saturn.spel.com>
next in thread | raw e-mail | index | archive | help
I feel really silly having to ask this. Why does my sizeof(mystruct) come out as 4 instead of 3 ( short + char ) ? struct { short shortvariable; char charvariable; } mystruct; sizeof(mystruct) == 4 Thanks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9903141646550.6443-100000>