Here is a sample
#include<stdio.h>
int main()
{
char *c,d;
char *p=&d,**z=&c,*u[2];
printf("%d%8d%8d\n",(p),p+1,++p);
}
The output is showing as:
PS C:\Users\HOME\Desktop\New folder> .\a.exe
6422212 6422213 6422212
Since the value of p+1 is different but ++p is showing the same address i.e 6422212 instead of 6422213.The concept of pointer is totally new to me plz help me.