Re: 0 vs '\0'



"Keith Thompson" <kst-u@xxxxxxx> wrote in message
news:lnek7u2inc.fsf@xxxxxxxxxxxxxxxxxx
> anon7843@xxxxxxxxxxx (Anonymous 7843) writes:
> > In article <dg3li2$ssb$1@xxxxxxxxxxxxxxxxxxxxxxx>,
> > Richard Tobin <richard@xxxxxxxxxxxxxxx> wrote:
> >>
> >> In article <fxcVe.51023$4g5.3380805@xxxxxxxxxxxx>,
> >> DevarajA <no@xxxxxxxx> wrote:
> >>
> >> >Are 0 and '\0' the same to terminate a string?
> >>
> >> Yes, and they are the same for other purposes too. They both
> >> represent the integer zero.
> >
> > And it works as a null pointer constant!
>
> Alas, yes.
>

Does this mean we can go around on the NULL vs Zero Merry-Go-Round,
again?!!

--
Mabden


.



Relevant Pages

  • Re: 0 vs
    ... >Are 0 and '\0' the same to terminate a string? ... and they are the same for other purposes too. ... represent the integer zero. ...
    (comp.lang.c)
  • Re: 0 vs
    ... and they are the same for other purposes too. ... > represent the integer zero. ... string. ... Prev by Date: ...
    (comp.lang.c)
  • Re: 0 vs
    ... and they are the same for other purposes too. ... >> represent the integer zero. ... Alas, yes. ... Prev by Date: ...
    (comp.lang.c)
  • Re: 0 vs
    ... and they are the same for other purposes too. ... > represent the integer zero. ... And it works as a null pointer constant! ... Prev by Date: ...
    (comp.lang.c)
  • Re: Solver problem where IF Function is bad
    ... > It may be possible to reformulate the problem so that you can use a binary ... > variable (integer zero or one) instead of the IF function. ... > - Mike ... Prev by Date: ...
    (microsoft.public.excel.misc)