I have to think carefully about this every single bloody time. As seen here.
C Pointer Operator Precedence
7
I have to think carefully about this every single bloody time. As seen here.
Read this great article Stop checking for NULL pointers! It mentions that there are many other invalid pointers than NULL, which is the same idea I had recently with regard to foreign keys in databases.
I was curious about the difference between C++ pointers and C++ references, so I searched and found this which says that basically: