Which preprocessor directive is used to include a header file in a C program?

  • #define
  • #ifdef
  • #ifndef
  • #include
The preprocessor directive #include is used to include a header file in a C program. It allows you to use functions and declarations from the included file in your program.
Add your answer
Loading...

Leave a comment

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