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 कभी समाप्त नहीं होता।



Report Bug