Which is not an ANSI C++ function?
-
sin()
-
kbhit()
-
tmpnam()
-
None of the Above
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().