Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > Re: pointer doubt (2)

Reply
Thread Tools

Re: pointer doubt (2)

 
 
Nick Keighley
Guest
Posts: n/a
 
      05-12-2013
On May 8, 7:48*pm, rashan <(E-Mail Removed)> 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
 
Reply With Quote
 
 
 
 
Keith Thompson
Guest
Posts: n/a
 
      05-12-2013
Nick Keighley <(E-Mail Removed)> writes:
> On May 8, 7:48*pm, rashan <(E-Mail Removed)> 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.velocityreviews.com/forums/(E-Mail Removed) <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"
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dotnet doubt can any body clarify my doubt challa462@gmail.com ASP .Net 0 08-22-2012 06:02 AM
Pointer to pointer Vs References to Pointer bansalvikrant@gmail.com C++ 4 07-02-2009 10:20 AM
doubt about doubt Bob Nelson C Programming 11 07-30-2006 08:17 PM
passing the address of a pointer to a func that doesnt recieve a pointer-to-a-pointer jimjim C Programming 16 03-27-2006 11:03 PM
Pointer-to-pointer-to-pointer question masood.iqbal@lycos.com C Programming 10 02-04-2005 02:57 AM



Advertisments