What will be the output of the following code?
Code: int x = 10; while(x > 0) { printf(“%d “, x); x -= 3; } Answer: The loop starts with x = 10. In each iteration, the value of x is decremented by 3. The loop will print the value of x before it is decremented. The loop will continue as long as x … Read more