🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c.moderated
Article #2498

Re: Good C Interview questions?

#2498
From: marty Holcomb
Date: Thu, 04 Apr 1996 01:15
11 lines
713 bytes
Bill Wendling wrote:
 >}    Why isn't the size 2*sizeof(int)+2*sizeof(char)?
 >
 >Byte alignment?
 >
 >}    How could you decrease the size of the structure without removing
 >}    any members?
 >
 >Rearrange the elements.
 >
Aren't these questions platform dependent?
Technical Details
Message-ID: <4jv7ri$dam@solutions.solon.com>
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
References: <4jmcn5$lq6@solutions.solon.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
From: mholcomb@BIX.com (marty Holcomb)
Newsgroups: comp.lang.c.moderated
Subject: Re: Good C Interview questions?
Date: 3 Apr 1996 19:15:30 -0600
Organization: Galahad
Sender: clc@solutions.solon.com
Approved: clc@solutions.solon.com
Message-ID: <4jv7ri$dam@solutions.solon.com>
References: <4jmcn5$lq6@solutions.solon.com>
NNTP-Posting-Host: solutions.solon.com
X-Newsreader: Galahad 1.2b