This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to determine a pointer type?

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

0