When a pointer to a particular type (say int, char, float, ..) is incremented, its value is increased by the size of that data type. I
int
char
float
You have to cast it to another type of pointer before doing pointer arithmetic.