Report Bug

Qus

What is the PRIMARY implication of this code on an Arduino board?

for(;;) {
    digitalWrite(LED_BUILTIN, HIGH);
}
Qus

Arduino board पर इस code का मुख्य परिणाम क्या होगा?

for(;;) {
    digitalWrite(LED_BUILTIN, HIGH);
}


A. LED blinks continuously
B. LED turns ON once and program exits
C. LED remains ON and program never exits the loop
D. Compilation error


Solution
C. LED remains ON and program never exits the loop



Explanation
for(;;) is an infinite loop. The LED is repeatedly set HIGH and no statement turns it LOW. <br><br> for(;;) एक infinite loop है। LED लगातार HIGH set होती रहती है और loop कभी समाप्त नहीं होता।
Latest Current Affairs 2026 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