Computer Science, asked by nainarajput69, 2 months ago

(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 pramodnagarcuraj17
5

Answer:

here x is 3 so condition is true

so the output is

3

Answered by pragyakirti12345
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