Re: Struct assignment



Richard Heathfield wrote, On 30/06/07 20:56:
Serve Lau said:

<snip>
Its easy to see where the confusion comes from. There are situations
where pointers degenerate into pointers ,

Pointers always degenerate into pointers.

No they don't, they stay as pointers ;-)

Knowing what Serve Lau must have intended I read it as "where arrays degenerate...".
--
Flash Gordon
.



Relevant Pages

  • Re: Struct assignment
    ... are situations where pointers degenerate into pointers, ... arrays never actually do that. ... There is change from an aggregate type to a non-aggregate type. ...
    (comp.lang.c)
  • Re: Struct assignment
    ... where pointers degenerate into pointers, ... Knowing what Serve Lau must have intended I read it as "where arrays ... arrays never actually do that. ...
    (comp.lang.c)
  • Re: Struct assignment
    ... There are situations where pointers degenerate into pointers, the OP probably had that in mind ... In my opinion it is only easy to confuse arrays and pointers if it is badly taught. ...
    (comp.lang.c)
  • Re: Struct assignment
    ... where pointers degenerate into pointers, ... Richard Heathfield ... Google users: ...
    (comp.lang.c)
  • Re: The void** pointer breaking symmetry?
    ... different flavors, pointers come in different flavors. ... you cannot set a number to zero without knowing its type, ... cannot set a pointer to NULL without knowing its type. ...
    (comp.lang.c)