sillycoder
Newbie level 1
Does static initialization of pointers mean it is null pointer?
Does the following code make p as a null pointer
static int *p;
since printf("%u",p);
outputs as 0
though the syntax is int *p=NULL or int *p=0
Does the following code make p as a null pointer
static int *p;
since printf("%u",p);
outputs as 0
though the syntax is int *p=NULL or int *p=0
Last edited: