How many times will the following loop be executed in below C program?

Loading

โœช Choose the correct option.

How many times will the following loop be executed in below C program?


void main()

{

x=5;

if (x = 1) {

x++;

}

}

A. Never
B. Once
C. 5 times
D. Infinity many times

Leave a Comment