How the memory allocation is done for a char pointer array and double pointer.
char *s[]={"knowledge","is","power"};
char **p;
p=s;
cout<<++*p<<*p++<<++*p<<endl;
In the above code output is -- nowledge nowledge s
My question is just , how the values are assigned to pointer p and how it's incremented.