NULL Pointer नल पॉइंटर
If a pointer variable stores a NULL value, then this type of pointer is called a NULL pointer. Initialization of a pointer with NULL indicates that the pointer does not point to any valid object or memory address. यदि किसी पॉइंटर वेरिएबल में NULL वैल्यू स्टोर की जाती है, तब इस प्रकार के पॉइंटर को नल पॉइंटर (NULL Pointer) कहा जाता है। पॉइंटर को NULL वैल्यू प्रदान करने पर वह किसी वैलिड ऑब्जेक्ट या मेमोरी एड्रेस को पॉइंट नहीं करता है। Syntax: data_type *pointer_name = NULL; Example: int *p = NULL; char *q = NULL; In the above example: p is an integer pointer initialized with NULL. q is a character pointer initialized with NULL. Both pointers do not point to any valid object. उपरोक्त उदाहरण में: p एक इन्टिजर पॉइंटर है जिसे NULL से इनिशियलाइज किया गया है। q एक करैक्टर पॉइंटर है जिसे NULL से इनिशियलाइज किया गया है। दोनों पॉइंटर किसी वैलिड ऑब्जेक्ट को पॉइंट नहीं करते हैं। Important Note: NULL and '\0' are different. NULL is used to represent a null pointer. '\0' is the...