The statement
if ( myPtr != NULL )
*myPtr = NULL;
else
*myPtr = NULL;
has the same effect as the statements(s)
A. |
if(myPtr) *myPtr = NULL; |
B. | *myPtr = NULL; |
C. |
if(!myPtr) *myPtr = NULL; |
D. | All of these |
Answer : D Explanation : |
|
Option: A Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. |