I am thinking of something like:
#include #include #include int main(void) { //test pointer to string c
In my experience you should get segmentation fault when you try to use %s directive with *p.