What is #include <stdio.h>?
a) A directive to include standard input-output library
b) A directive to include standard math library
c) A directive to include string handling library
d) A directive to include file handling library
Answer:
a) A directive to include standard input-output library
Explanation:
#include <stdio.h> is a preprocessor directive used in C to include the standard input-output library before the actual compilation of the code begins. This library provides functions like printf() for output and scanf() for input, which are essential for basic input-output operations in C.
Understanding preprocessor directives like #include is crucial for including necessary libraries and writing functional C programs.