Testing pointers for validity (C/C++) Testing pointers for validity (C/C++) c c