Math, asked by jayashrinivas9822, 1 year ago

Int main() { int num1 = 123; float num2 = 123.0; if(num1 == num2) printf("num1 and num2 are equal"); else printf("num1 and num2 are not equal"); return 0; }

Answers

Answered by Shaizakincsem
0

Thank you for asking this question.

The answer for this question is:

num1 and num2 are equal

Actually this question is kind of tricky if you try to look at the question you will see that in the if statement we are comparing 123 = 123.0

and with this the condition is satisfied, which states that num 1 and num 2 are equal.

Similar questions