Could anyone listdown the differences between pointer & reference??
A pointer is an object which represents an address in memory.
A reference is just a 'nickname' or 'alias' for an existing object.
I'm not going to go into any further detail since the nature of the question sounds a little bit like 'please do my homework for me'. Have you tried a google search? you ought to be able to come up with some fairly detailed search results about Pointers-vs-references
The reason for my question was not getting the difference. Probably my description was wrong. Sorry for that.
I would ask to the point in future....
>>The reason for my question was not getting the difference.
Ok, so what is it that you wanted to ask?
>>I would ask to the point in future....
Absolutely! you can't be vague around here because if you don't know what you want we sure won't either.