Hi Jonathan,
Thanks for your reply. So actually I was getting the pointer of n itself.
I understand now what was my problem. The problem was that I did not know that array support references of objects, so I thought that I must fill it with pointers of objects.
But its great that I do not have to use pointers :) Thanks a lot.
