U plz refer about Hashing algorithm It will give the solution
It is also pointer related...