Tests for a punctuation character, such as a comma (,) or a period (.).
#include <ctype.h>
int ispunct (
int c);
(IN) Specifies the character to be tested.
Returns a nonzero value when the argument is a punctuation character. Otherwise, it returns zero.