Javatpoint Logo
Javatpoint Logo

C #pragma

The #pragma preprocessor directive is used to provide additional information to the compiler. The #pragma directive is used by the compiler to offer machine or operating-system feature.


Different compilers can provide different usage of #pragma directive.

The turbo C++ compiler supports following #pragma directives.

Let's see a simple example to use #pragma preprocessor directive.


I am in func
I am in main
I am in func

Youtube For Videos Join Our Youtube Channel: Join Now


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA