This is a discussion on Speed of pointers vs. speed of arrays/structs within the C Programming forums, part of the General Programming Boards category; Originally Posted by laserlight Could you elaborate? A pointer is of a different type from a pointer to itself, so ...
You would use it as a parameter to functions. There's a couple of examples here:
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
Indeed, because if *p is of type T, then p is of type T*, and &p is of type T**, so that statement assigns a T** to a T, which is clearly a mistake.Not sure, but I think he was point that maybe situation where *p++ = &p, but I think more on it, I don't see anythinkg with sense.