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. Output: Compile Time Error: First include then compile But, if you include math.h, it does not gives error. Output: 2.645751
Next TopicC #pragma
|
JavaTpoint offers too many high quality services. Mail us on h[email protected], to get more information about given services.
JavaTpoint offers college campus training on Core Java, Advance Java, .Net, Android, Hadoop, PHP, Web Technology and Python. Please mail your requirement at [email protected].
Duration: 1 week to 2 week