1.

This function checks whether the passed character is white-space.(a) ispunct()(b) isgraph()(c) isspace()(d) isalpha()The question was asked during a job interview.This intriguing question originated from Character Handling topic in section String Operations in C of C

Answer»

The CORRECT CHOICE is (c) isspace()

For explanation: The isspace FUNCTION tests for any character that is a STANDARD white-space character.



Discussion

No Comment Found

Related InterviewSolutions