Question

How many times will the following program print hello?
i = 1;
while (i <= 10) {
puts("hello");
}
(a) 10
(b) 8
(c) an infinite number of times
(d) 0

Answer

This answer is hidden. It contains 3 characters.