Question: What is a difference between a reference and a pointer? A reference can only refer to a single variable, while a pointer can refer to
What is a difference between a reference and a pointer?
A reference can only refer to a single variable, while a pointer can refer to multiple variables.
A reference cannot be reassigned, while a pointer can.
There is no difference between a reference and a pointer.
A pointer cannot be reassigned, while a reference can.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
