InterviewSolution
| 1. |
What Is A Pragma? |
|
Answer» The #PRAGMA preprocessor directive allows each compiler to implement compiler-specific features that can be turned on and off with the #pragma statement. For instance, your compiler might support a feature called loop OPTIMIZATION. This feature can be INVOKED as a command-line OPTION or as a #pragma directive. To implement this option using the #pragma directive, you would put the FOLLOWING line into your code: #pragma loop_opt(on).The #pragma preprocessor directive allows each compiler to implement compiler-specific features that can be turned on and off with the #pragma statement. For instance, your compiler might support a feature called loop optimization. This feature can be invoked as a command-line option or as a #pragma directive. To implement this option using the #pragma directive, you would put the following line into your code: |
|