>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.
Received on Fri May 11 2001 - 12:17:30 NZST