What is the difference between Pointer and Reference? - ProProfs Discuss
Topics
Products
Follow Us:

What is the difference between Pointer and Reference?

Asked by R. Jones, Last updated: Jan 17, 2020

+ Answer
Request

3 Answers

W. Mocroft

Love to do some charity work. Have a passion for writing and do it in my spare time

W. Mocroft, Philanthropist, Master Degree in International Business, Las Vegas

Answered Aug 29, 2019

A pointer and reference may seem to be the same thing, but these two are different from each other. A pointer can be used when you are trying to create some data structure and also other...Read More
 

T. Wikati

T. Wikati, Technical Writer, New York

Answered Aug 06, 2019

A pointer is used to store the memory address of variables. It basically holds the memory of another variable. A pointer is to be dereferenced with an operator to aces the memory location of the...Read More
 

W. Kaye

Here to answer and learn

W. Kaye, Ex-Marine, Post Graduate, Chapel Hill

Answered Jun 13, 2019

Pointer and reference are two important variables which can be used by a compiler in knowing the storage of an item. However, there are many differences between pointer and reference. A pointer...Read More
 

Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer

Email Sent
We have sent an email to your address "" with instructions to reset your password.