> What is the difference (if any) in these two lines of code:
> char* ptr1;
> char *ptr2;
They are the same, it's just a question of style.
> and what does it mean when you use 2 "*"
> like:
> **ptr ?
This means a pointer to a pointer to a (whatever object ptr is). It is used some times when dealing with multidimensional arrays, among others.
regards, Gunnstein
|