Question
Is this a correct way for NULL pointer assignment?
int i=0;
char *q=(char*)i;
Answer: Option B
Was this answer helpful ?
The correct way is char *q=0 (or) char *q=(char*)0
Was this answer helpful ?
More Questions on This Topic :
Question 6.
Are the expression *ptr++ and ++*ptr are s....
Submit Solution