I guess I got that. (&a + 1) increments the pointer to the array(&a here) according to the size of array where as p, being a pointer to an int gets incremented by the size of int(4 byte in 32 bit compiler) with the statement p = p+1
Correct me if i am wrong. -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To view this discussion on the web visit https://groups.google.com/d/msg/algogeeks/-/VWMeduMjiBIJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
