If the rest of the sketch is correct, which of the following loop statements will NOT result in infinite loop (assuming
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
If the rest of the sketch is correct, which of the following loop statements will NOT result in infinite loop (assuming
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;
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!