just like initializing a local variable at the time of declaration so that it does not contain some junk value , likewise it is good programming practise to initialize pointers , and the correct / safe initial value a pointer could have is NULL . does it clear your doubt or is there something...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.