char *name[]={"sachin","kap il","ajay"};
cout<<name[0]
what is the output of the above mentioned code?I think that
output must be an address because name[0]is storing the base address of sachin.But i get sachin as output.why is it so?
please help me!
cout<<name[0]
what is the output of the above mentioned code?I think that
output must be an address because name[0]is storing the base address of sachin.But i get sachin as output.why is it so?
please help me!
Comment