I was given some code in which some of the parameters are pointers, and then the pointers are dereferenced
to provide values. I was concerned that the pointer dereferencing wou
References are very similar to pointers with one big difference: references can not be NULL. So you no not need to check if they are acutual usable objects (like for pointers).
Therefore I assume that compilers will produce the same code.