From: "Prasad V.S." <vspra () hotmail ! com>
To: tru64-unix-managers
Subject: difference in output.
Date: Fri, 11 May 2001 12:16:19 +0000 [thread overview]
Message-ID: <102653647621810.tru64-unix-managers.marc@archive.invalid> (raw)
>Hi,
>
> I have the similar follow-up question on the concept.
>As per K&R Every c program must have a main some where.
>
>but the program
>
># include <stdio.h>
>hello()
>{
> printf("abc");
>}
>
>can compile and run successfully on VMS.
>
>I am little confused what is happening internally..
>
>/vsp
>
>
> >Hi Experts,
>
> > I don't know whether this is relevant place to
> >ask this question or not. I am sorry if I am wrong.
>
> > main()
> > { char *g="initialdata";
> > strcpy(g,"new");
> > printf("The string is %s",g);
> > }
>
> >Why does this program crash in VMS and but not on
> >Tru64?
>
> >where comes the difference between these two?
>
> >thank you all.
>
> >/svp
>
>
>_________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
next reply other threads:[~2001-05-11 12:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-11 12:16 Prasad V.S. [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-05-11 11:17 difference in output unix doubts
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox