This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: different output from the gcc
- To: Mahadev K Cholachagudda <mahadev_kc at yahoo dot com>
- Subject: Re: different output from the gcc
- From: Joe Comunale <jbc at forbin dot qc dot edu>
- Date: Mon, 16 Oct 2000 07:38:51 -0400 (EDT)
- cc: gcc-help at gcc dot gnu dot org
On Compaq Tru64 (nee DEC OSF/1 4.0E) it prints:
536870248 536870264
On Mon, 16 Oct 2000, Mahadev K Cholachagudda wrote:
> Date: Mon, 16 Oct 2000 15:37:15 +0530
> From: Mahadev K Cholachagudda <mahadev_kc@yahoo.com>
> To: gcc-help@gcc.gnu.org
> Subject: different output from the gcc
>
> Hello to all,
>
> the following program prints different outputs on the terminal.
>
> #include <stdio.h>
> int main()
> {
> int i=10, j=20;
> printf("%d %d");
> return 0;
> }
>
>
> on windows nt, prints : 38076236 1627415320
> on RH linux , prints : 20 10
> on sun solaris , prints : 67584 -1341572
>
> what is the reason ?
>
> with regards,
> Mahadev
>
>
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
>
>
--
Joe Comunale /url> forbin.qc.edu/~jbc
Queens College/OIT /vox> 718-997-5919
Unix Asst Sys Mgr /fax> x5678