hi

i have a question on pointer. suppose p is a dynamically allocated memory pointer. now if i do a p++ does it mean i will get p[0], p[1],p[2] etc ?

or in other words, does it mean

p[0]= p

p[1] = = p+sizeof(data_type) // this is basically p++


can you tell what is the relation between p++ and pointer indexes ?

thanks