The preprocessor directive ________ is used to include libraries in a C program.

  • #define
  • #ifdef
  • #include
  • #pragma
The correct answer is (b) #include. In C, the #include preprocessor directive is used to include libraries or header files. This allows you to use functions and definitions from those libraries in your program.
Add your answer
Loading...

Leave a comment

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