rgb192
asked on
node example. What is pointing? Is it a pointer, reference, value?
http://beastie.cs.ua.edu/cs150/book/index_16.html
I do not fully understand nodes
I am trying to debug code and look at pictures of pointing
but I can not understand how a variable is pointed to another location (value, reference)
I do not fully understand nodes
I am trying to debug code and look at pictures of pointing
but I can not understand how a variable is pointed to another location (value, reference)
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
But those that do support references always require that the reference is always filled with value to some existing objects (i.e. some address). Pointers on the other hand can contain a special value named nil, NULL, nullptr or the like that says "pointing to nowhere".
so now I know one difference between pointer and reference
thanks
ASKER
is red pointing to value or reference or pointer of blue
pepr
is a pointer a reference pointing to a node
is this a list, tuple