So, you didn't initialise it.
char *ptss;
You need to remove the second declaration of the pointer for this construct to work.
You need to read about scope rules.
So, you didn't initialise it.
char *ptss;
You need to remove the second declaration of the pointer for this construct to work.
You need to read about scope rules.