How many times the given code block will be executed?

int x = 5;

if (x = 1)

{

     x++;

}

1
once
2
Never
3
Five times
4
Infinitely many times

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation