If I have declare a generic pointer [char *test] in C; How do I determine the pointer type in runtime? By checking the first byte of the pointer or is there any other functions doing this? Thanks in advance