ispunct
Tests for a punctuation character (function or macro)
#include <ctype.h>
int ispunct (
int c);
ispunct returns a nonzero value when the argument is a punctuation character. Otherwise, a value of 0 is returned.
The ispunct function or macro tests for any punctuation character, such as a comma (,) or a period (.).