Which function is used to check whether a character is punctuation mark?

a) isxdigit()
b) isprint()
c) iscntrl()
d) ispunct()

1 thought on “Which function is used to check whether a character is punctuation mark?”

  1. d
    Explanation: Character classification provides ispunct() function to check whether a character in C++ is punctuation mark.

Leave a Comment