C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
C #pragmaThe #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. Syntax: #pragma token Different compilers can provide different usage of #pragma directive. The turbo C++ compiler supports following #pragma directives. #pragma argsused #pragma exit #pragma hdrfile #pragma hdrstop #pragma inline #pragma option #pragma saveregs #pragma startup #pragma warn Let's see a simple example to use #pragma preprocessor directive. #include Output: I am in func I am in main I am in func
Next TopicCommand Line Arguments in C
|