C Programming :: Loop Control - Discussion
Home > C Programming > Loop Control > MCQs Questions Discussion
40 / 61
How many times will the following loop be executed in below C program?
#include <stdio.h>
void main()
{
x=5;
if (x = 1) {
x++;
}
}
#include <stdio.h>
void main()
{
x=5;
if (x = 1) {
x++;
}
}
ANever
BOnce
C5 times
DInfinity many times
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
No Discussion on this question yet!