How many times will the following loop print hello? i = 1; while ( i <= 10 ) cout << \"hello\"; Solution /* if we use this code */ /* main.cpp */ #include <iostream> using namespace std; int main() { int i = 1; while ( i <= 10 ) cout << \"hello\"; return 0; } /* then output will be D. an infinite number of times. */ /* hello will be printed infinite number of times because value of i is not increasing means we have not used i++ in while loop */ .