Answer to Question #38425 in C++ for subodh
Question #38425
Evaluate the following C++ expressions (assume x = -1, y = 2):
(i) x > y
(ii) x+y >= y
(i) x > y
(ii) x+y >= y
Expert's answer
Answer on Question 38425 – Programming – C++
Evaluate the following C++ expressions (assume x = -1, y = 2):
(i) x > y is false, because -1 is less than 2
(ii) x+y >= y is false, because x+y=1 and 1 is less than 2
Evaluate the following C++ expressions (assume x = -1, y = 2):
(i) x > y is false, because -1 is less than 2
(ii) x+y >= y is false, because x+y=1 and 1 is less than 2
Need a fast expert's response?
Submit orderand get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment