What is the purpose of the #pragma directive in a C program?

  • It controls compiler-specific behaviors.
  • It has no specific purpose in C programming.
  • It is used to define custom macros in the code.
  • It is used to include external libraries in the code.
The #pragma directive in C is used to control compiler-specific behaviors, such as optimization settings and platform-specific configurations.
Add your answer
Loading...

Leave a comment

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