Multiple choice

The function 'isascii' is declared in which header file?

  1. dos.h

  2. stdlib.h

  3. alloc.h

  4. ctype.h

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The isascii function checks if a character is an ASCII character (value 0-127) and is declared in ctype.h. This header contains character classification functions like isalpha, isdigit, islower, and isspace. alloc.h is for memory allocation, stdlib.h for general utilities, and dos.h for DOS-specific functions.