I'm just curious if anyone has trouble with double referenced points and their syntax? Pointers can be referenced as subscripted arrays or as normal pointer reference: ie.
1 2
bPtr[1]; //array format
*(bPtr + 1); //pointer format
I've found when using double referenced pointers, only normal pointer notation works. I cannot get subscripted array format to work for double referenced pointers. Has anyone had this problem? ie.
1 2
*bPtr[1]; //array format <--- This method does not work!
*(*btr + 1); //pointer format
is not a double dereferenced pointer, but actually a dereferenced pointer-array element.
I think it would be best to avoid array notation for pointers, unless utilizing a pointer-array.