C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
C #errorThe #error preprocessor directive indicates error. The compiler gives fatal error if #error directive is found and skips further compilation process. C #error exampleLet's see a simple example to use #error preprocessor directive. #include Output: Compile Time Error: First include then compile But, if you include math.h, it does not gives error. #include Output: 2.645751
Next TopicC #pragma
|