Examveda
Examveda

What is the result of the expression ptr = NULL in C, where ptr is a pointer?

A. Initialize ptr to 0

B. Delete the pointer ptr

C. Set ptr to a random address

D. It's not a valid operation

Answer: Option A


This Question Belongs to C Program >> Pointer

Join The Discussion

Related Questions on Pointer