MCQOPTIONS
Saved Bookmarks
This section includes 4 Mcqs, each offering curated multiple-choice questions to sharpen your C knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
The______function tests for any hexadecimal-digit character. |
| A. | iscntrl() |
| B. | ispunct() |
| C. | isgraph() |
| D. | isxdigit() |
| Answer» E. | |
| 2. |
Which function tests for any character that is an uppercase letter. |
| A. | iscntrl() |
| B. | ispunct() |
| C. | isdigit() |
| D. | isupper() |
| Answer» E. | |
| 3. |
The standard white-space characters are the following: space (' '), form feed (' f '),newline (' n') , horizontal tab (' tr), and vertlcal tab (' v') can be tested with function. |
| A. | ispunct() |
| B. | isalpha() |
| C. | isgraph() |
| D. | isspace() |
| Answer» E. | |
| 4. |
This function checks whether the passed character is white-space. |
| A. | ispunct() |
| B. | isgraph() |
| C. | isspace() |
| D. | isalpha() |
| Answer» D. isalpha() | |