delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/21/20:23:50

Date: Wed, 21 Jan 1998 19:25:34 -0500 (EST)
Message-Id: <199801220025.TAA27116@p2.acadia.net>
To: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: Data types
Cc: djgpp AT delorie DOT com
References: <199801212338 DOT PAA05742 AT adit DOT ap DOT net>
in-reply-to: <199801212338.PAA05742@adit.ap.net>
From: swarnerx3 AT acadia DOT net (Scott Warner)
MIME-Version: 1.0

Thanks for pointing this out!  I had to look in my "sent mail" because I didn't believe it!  The things you miss...

> >  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 <stdio.h>
>
> 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
>
>
>
>

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019