free()

if i create by malloc a pointer p from type char*
and i do free(p)

what will be the value of p

and can i still use the memory pointed by p?
The value of p doesn't change, and no, you can't use that memory anymore.
Topic archived. No new replies allowed.