Date: Wed, 21 Jan 1998 15:38:53 -0800 (PST) Message-Id: <199801212338.PAA05742@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: "S. M. Halloran" , swarnerx3 AT acadia DOT net (Scott Warner), jordimln AT jet DOT es From: Nate Eldredge Subject: Re: Data types Cc: djgpp AT delorie DOT com Precedence: bulk At 10:55 1/21/1998 +0200, S. M. Halloran wrote: >You believe right. The program could be revised to lose the >variables and not put so much of a workload on the stack :) > > >#include > >int main(void) >{ > printf("Size of integer: %d\n", sizeof(int); > printf("Size of char: %d\n", sizeof(char); > printf("Size of float: %d\n", sizeof(float); > return (0); >} It could also be revised to include the close-parenthesis which a function call needs. Something about `parse error...' :) This time for sure. #include int main(void) { printf("Size of integer: %d\n", sizeof(int)); printf("Size of char: %d\n", sizeof(char)); printf("Size of float: %d\n", sizeof(float)); return (0); } Nate Eldredge eldredge AT ap DOT net