1.

What is meant by a null pointer?

Answer»
  • The POINTER that does not POINT to any memory location is called the null pointer. It IMPLIES the pointer is empty and it is not pointing to anywhere within the memory.
    Example: INT *pointer=NULL;
  • Null pointers can be used for initializing the memory location address with the pointer of the same DATA type.
    Example: int *pointer= (int*)NULL;


Discussion

No Comment Found