On Thu, Jan 10, 2019, 7:53 AM Justin Israel <justinisr...@gmail.com> wrote:

>
>
> On Thu, Jan 10, 2019, 7:43 AM 伊藤和也 <kazya.ito.dr...@gmail.com> wrote:
>
>> Can I say that a pointer is a memory address where a variable is?
>>
>
> A pointer is a memory address to a value (data in memory).
>
> A "variable" is just a name/label to *something*. That something could be
> a pointer or it could be a value. That is, you can have a pointer that
> points to the value of another pointer which points to the value of an int
> in memory (**x)
>

And I just now saw this was double posted. I don't want to fork two
conversations ;)


>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "golang-nuts" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to golang-nuts+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to