Pointer: is it pointing to an alphanumeric character?

Hello guys.

How might I go about deciding if

"ptr1 points to an alphanumeric"?

That's the condition for a loop in an assignment I have. I am trying to cut punctuation marks out of a string that I'm reading.
or ! ispunct( int )
Topic archived. No new replies allowed.