Programming
October 20, 2023Programming
October 20, 2023Programming
Question 348
|
What is the output of following C program?
# include
main( )
{
int i, j, x = 0;
for (i = 0; i <5; ++i)
for (j = 0; j<i; ++j)
{
x + = (i + j – 1);
break;
}
printf (“%d”,x) ;
}
6
|
|
5
|
|
4
|
|
3
|
Question 348 Explanation:
Correct Answer: A
Question 348 Explanation:
Subscribe
Login
0 Comments