6 lines
81 B
C
6 lines
81 B
C
#include <ctype.h>
|
|
|
|
int ispunct(int c) {
|
|
return isgraph(c) && !isalnum(c);
|
|
}
|