Which function is used to check whether a character is tab or space or whitespace control code(\n,\r,etc.)?

a) isspace()
b) isalnum()
c) iscntrl()
d) isblank()

1 thought on “Which function is used to check whether a character is tab or space or whitespace control code(\n,\r,etc.)?”

  1. a
    Explanation: Character classification provides isspace() function to check whether a character in C++ is tab or space or whitespace control code(\n, \r, etc.).

Leave a Comment