Page 1 of 1

If the rest of the sketch is correct, which of the following loop statements will NOT result in infinite loop (assuming

Posted: Mon May 16, 2022 6:39 am
by answerhappygod
If The Rest Of The Sketch Is Correct Which Of The Following Loop Statements Will Not Result In Infinite Loop Assuming 1
If The Rest Of The Sketch Is Correct Which Of The Following Loop Statements Will Not Result In Infinite Loop Assuming 1 (43.22 KiB) Viewed 43 times
If the rest of the sketch is correct, which of the following loop statements will NOT result in infinite loop (assuming there is no outer loop)? int z = 0; while(z = 1) (Serial.println(z); z = z + 1;) O int x = 0; while(x <= 5) {Serial.println(x):) O int x = 1; while(x > 0) {Serial.println(x): X = x - 1: O int x = 10; while(x != 3) {Serial.println(x); x = x/2;