Originally Posted by zamjad
Its interesting that patron of the year gave this reply. Just imagine if we are suppose to get the similar answers from our teachers
Well back to the topic.
Here are the basic differences
1. Reference has to assign to something at the time of decleration, however pointer dont have to.
2. Reference can't be null, but pointer can be so no need to check for null reference just like we do in case of pointers
3. Once reference is assigned it can't be changed to assigned something else. On the other hand pointer can point to different thing after reassingment.
If there is still confusion please feel free to post it.
PS. there are no dumb or stupid questions.
First thing i didn't mean that whatever you mention. Definition of any term(reference & pointer) offcourse you can find anywhere, any basic books...So what i expect that the guy who asked this question, will search and read about it and come up with some doubts, some problem based on it etc, so it's benefit to him only...
To develope a person knowledge go and just read any books based on " How to make teaching style efficient" so that it will boost your learning capacity, thinking capacity etc.