Report Bug
Qus : How can you throw an error with preprocessor directives to Arduino Compiler, forcing to stop compilation ?
Qusकंपाइलर को रोकने के लिए मजबूर करते हुए, आप Arduino कंपाइलर को प्रीप्रोसेसर निर्देशों के साथ एक एरर कैसे थ्रो कर सकते हैं?

A. #warning
B. #stop
C. #cut
D. #error


Solution
D. #error



Explanation

'#error' directive. When the preprocessor encounters the #error directive, it will generate a compilation error message and stop the compilation process.




Report Bug