A pointer just (a the name says) points to a piece of memory.
When you free that memory all accesses to it become invalid, both 'direct' ones (via the freed pointer) and also all other ways you manage to access the address of the freed memory.
So in your example, you may neither access *a or **b.
(The pointers themselves are valid, but the memory finally pointed to, is not.)
Bookmarks