what is a NULL Pointer? Whether it is same as an uninitialized pointer?

Showing Answers 1 - 1 of 1 Answers

satish_sudi

  • Jun 25th, 2007
 

NULL pointer is pointer which is not pointing to anything in the memory.  NULL is defined as (void*)0.

Uninitialised pointer is pointing to some memory location but the pointer values are not assigned.Malloc returns the memory address, but the contents of the pointer are junk values.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions