Re: *p++ = *q++ undefined? why?



CBFalconer wrote:

Eric Sosman wrote:
CBFalconer wrote:
pete wrote:

... snip ...

As long as (*p) is defined and (*q) is defined,
there is nothing wrong with (*p++ = *q++).

Assuming p != q.

Even if p == q. (Confession: I very nearly made
the same mistake.)

Alright, modify the assumption to:

&p !- &q

&p != &q

OK

--
pete
.



Relevant Pages

  • Re: *p++ = *q++ undefined? why?
    ... (Confession: I very nearly made ... the same mistake.) ... Alright, modify the assumption to: ...
    (comp.lang.c)
  • Filemaker Pro 3.0, - Preventing data changes while in Browse? a Newbbie
    ... Find and Modify and so on. ... In FileMaker Pro 3.0 I have been unable to ... changing a fields size by mistake etc. ... while in Browse mode you can change data layout, the data, etc. ...
    (comp.databases.filemaker)
  • Re: *p++ = *q++ undefined? why?
    ... Vladimir S. Oka wrote: ... snip ... ... (Confession: I very nearly made ... the same mistake.) ...
    (comp.lang.c)
  • Re: Speed of Light
    ... > Alright now, c'mon. ... > theory when I was 17 during my AP Chemistry class. ... > we've never even learned about four-vector and rest mass. ... > doesn't have a mistake, then apparently there's a mistake in one of ...
    (sci.physics)
  • Re: FPGA not in boundary scan
    ... should be fine but there is still just this one CPLD in my boundary scan! ... Alright, my mistake. ... Hunting! ...
    (comp.arch.fpga)