NIELIT O Level Exam

How can you throw an error with preprocessor directives to Arduino Compiler, forcing to stop compilation ?

How can you throw an error with preprocessor directives to Arduino Compiler, forcing to stop compilation ?

कंपाइलर को रोकने के लिए मजबूर करते हुए, आप Arduino कंपाइलर को प्रीप्रोसेसर निर्देशों के साथ एक एरर कैसे थ्रो कर सकते हैं?

A. #warning

B. #stop

C. #cut

D. #error




Correct Answer is :

D. #error



Explanation

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

Latest Current Affairs 2024 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad