Re: pointer doubt (2)

Discussion in 'C Programming' started by Nick Keighley, May 12, 2013.

  1. On May 8, 7:48 pm, rashan <> wrote:

    > Can u explain: why in C we can have a reference to a pointer... but
    > not... a pointer to a reference.
    >
    > Isn't it VOID pointer will be good for this, can point to anything or
    > nothing.
    >
    > With Many Thanks.


    even in C++ a void isn't a reference
    Nick Keighley, May 12, 2013
    #1
    1. Advertising

  2. Nick Keighley <> writes:
    > On May 8, 7:48 pm, rashan <> wrote:
    >> Can u explain: why in C we can have a reference to a pointer... but
    >> not... a pointer to a reference.
    >>
    >> Isn't it VOID pointer will be good for this, can point to anything or
    >> nothing.
    >>
    >> With Many Thanks.

    >
    > even in C++ a void isn't a reference


    Did you mean to say that a void* isn't a reference?

    --
    Keith Thompson (The_Other_Keith) <http://www.ghoti.net/~kst>
    Working, but not speaking, for JetHead Development, Inc.
    "We must do something. This is something. Therefore, we must do this."
    -- Antony Jay and Jonathan Lynn, "Yes Minister"
    Keith Thompson, May 12, 2013
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    10
    Views:
    695
    Chris Torek
    Feb 4, 2005
  2. Bob Nelson

    doubt about doubt

    Bob Nelson, Jul 28, 2006, in forum: C Programming
    Replies:
    11
    Views:
    623
  3. Replies:
    0
    Views:
    557
  4. Peter Otten
    Replies:
    2
    Views:
    110
    Cousin Stanley
    Aug 10, 2013
  5. Terry Reedy
    Replies:
    0
    Views:
    114
    Terry Reedy
    Aug 10, 2013
Loading...

Share This Page