Developer community
0 votes
437 views
asked by | 437 views

1 Answer

0 votes
A reference must always refer to some object and, therefore, must always be initialized; pointers do not have such restrictions. A pointer can be reassigned to point to different objects while a reference always refers to an object with which it was initialized.
answered by

Related questions

+1 vote
2 answers
0 votes
1 answer
asked by sagar Expert (12.3k points) 7 12 25 | 295 views
+1 vote
2 answers
asked by daniel Advisor (5.6k points) 1 7 14 | 2.3k views
+1 vote
1 answer
+1 vote
1 answer
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

Categories


C Books Guide and List
C++ Books Guide and List
Best Java Books

3.8k questions

4k answers

117 comments

10.7k users

3,751 questions
4,046 answers
117 comments
10,709 users