Which of the following are not standard header files in C?

Which of the following are not standard header files in C?

a) stdio.h
b) conio.h
c) math.h
d) stdlib.h

Answer:

b) conio.h

Explanation:

conio.h is not a standard C header file; it is specific to certain compilers like Turbo C/C++. Standard header files in C include stdio.h (for standard input and output), math.h (for mathematical functions), and stdlib.h (for standard library functions). Using non-standard headers like conio.h can make your code less portable, as it may not compile on all systems.

Understanding which header files are standard is important for writing portable and widely compatible C programs.

Reference links:

https://www.rameshfadatare.com/learn-c-programming/

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top