(d) #include <stdio.h>
main()
{
int x = 3, y = 5;
if (x == 3)
printf("\n%d", x);
else;
printf ("\n%d",y);
}
Answers
Answered by
5
Answer:
here x is 3 so condition is true
so the output is
3
Answered by
0
Answer: 3
Explanation:
#include <stdio.h>
main()
{
int x = 3, y = 5;
if (x == 3)
printf("\n%d", x);
else;
printf ("\n%d",y);
}
Output will be 3, as in the if condition, the condition is satisfied, so the print statement will print the value 3.
#SPJ2
Similar questions