Data Type - Reference Type

> Code - (Programming|Computer) Language > (Data) Type - (Datatype|Type of data)

Table of Contents

1 - About

A reference type is a lightweighted pointer where there’s not much that can be done with them except pass them around.

When a reference is passed to a function, the function receives a copy of the reference, so any changes the called function makes to the underlying data structure will be visible through the function caller too.

code/type/reference.txt · Last modified: 2017/09/06 09:14 by gerardnico