Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

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

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

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

Join The Discussion