sillycoder
Newbie level 1
- Joined
- Nov 22, 2012
- Messages
- 1
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,286
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: