M
mt
A pointer in an if statement is normal, and may have many meanings,
not just limited to non-null. It may mean
- whether two pointers are the same;
- whether the pointer pointed value is a special value, like
if((*p)==1);
- if the pointer is char *, more string related function calling may
appeared, like if(strcmp(a,b))
what else does it mean?
not just limited to non-null. It may mean
- whether two pointers are the same;
- whether the pointer pointed value is a special value, like
if((*p)==1);
- if the pointer is char *, more string related function calling may
appeared, like if(strcmp(a,b))
what else does it mean?