I have two pointers,
char *str1; int *str2;
If I look at the size of both the pointers let’s assume
str1=4 bytes str2=4 byt
Simple, in the provided scenario:
The ++ operator increments the pointer by the size of the pointed type.