Agus Budy Wuysang wrote:
>
> > const char *p;
> > p[0] = 'X'; <-- warning: assignment of read-only location
> > *p = 'X'; <-- warning: assignment of read-only location
>
> printf("p = %c\n', *p);
>
> Tahu... tapi assignment itu tetap berhasil kan, lain kalau
> Pascal & java :)
>
weleh, jadi kalau misalnya gcc ada warning "warning: assignment of
read-only Cobalt electron. This might crash the nuclear powerplant",
anda tetep nyantai2 saja? :-)
cheers,
Bennylp
--------------------------------------------------------------------------------
Utk berhenti langganan, kirim email ke [EMAIL PROTECTED]
Informasi arsip di http://www.linux.or.id/milis.php3
Pengelola dapat dihubungi lewat [EMAIL PROTECTED]
- Re: [programming] Command Line Argument for C Benny Prijono
- Re: [programming] Command Line Argument for C Danny Setiawan
- Re: [programming] Command Line Argument for C Agus Budy Wuysang
- RE: [programming] Command Line Argument for C Purwadi
- Re: [programming] Command Line Argument for C Benny Prijono
- Re: [programming] Command Line Argument for C Agus Budy Wuysang
- Re: [programming] Command Line Argument for C Agus Budy Wuysang
- Re: [programming] Command Line Argument for C Benny Prijono
- Re: [programming] Command Line Argument for C Agus Budy Wuysang
- Re: [programming] Command Line Argument for C Benny Prijono
- Re: [programming] Command Line Argument for C Agus Budy Wuysang
- Re: [programming] Command Line Argument for C Benny Prijono
