Not quite. Consider the syntax for defining a pointer and initialising it to be a null pointer:Quote:
Originally Posted by spadez
Notice that the type name int is part of the syntax. Compare it to this dereferencing of p to print what the pointer points to:Code:int *p = NULL;
Now, the type name of the pointed to type is not part of the syntax.Code:printf("%d\n", *p);