Multiple choice

The function toascii() is declared in the header file _________.

  1. stdio.h

  2. math.h

  3. ctype.h

  4. string.h

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

The toascii() function is a character-handling function used to convert integer values into standard ASCII character range. It is declared in the standard library header file ctype.h in C and C++. Other headers like stdio.h or math.h handle input/output or mathematical operations respectively.