Pointers and references: Difference between revisions

Content added Content deleted
m (Fixed lang tags.)
(omitted Clojure)
Line 155: Line 155:
Accessing another object of the array through the reference:
Accessing another object of the array through the reference:
v = (&ref)[3]; // read value of array[3]; however doing this is bad style
v = (&ref)[3]; // read value of array[3]; however doing this is bad style

{{omit from|Clojure}}


=={{header|D}}==
=={{header|D}}==