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
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;