Discussion :: Pointers
-
Is this a correct way for NULL pointer assignment?
int i=0;
char *q=(char*)i;
Answer : Option B
Explanation :
The correct way is char *q=0 (or) char *q=(char*)0
Be The First To Comment