Multiple choice technology programming languages

Which is not an ANSI C++ function?

  1. sin()

  2. kbhit()

  3. tmpnam()

  4. None of the Above

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

kbhit() is a non-standard DOS/Windows function from conio.h that checks if a key has been pressed. sin() is a standard math function, and tmpnam() is a standard C/C++ function for generating temporary filenames. ANSI C++ does not include kbhit().