BANK SEBI Grade A Phase 1 & Phase 2 Mock Test 2024 Programming and Data Structure Programming in C While Loop
Determine the output of the given program.
main()
{
int i = 8;
while (i = 8)
{
printf ("Getting out");
i++;
}
}
1
Getting out is printed infinite times
2
Nothing is printed
3
Getting out is printed once
4
Getting out is printed 7 times
5
None of above