Evaluating C Expressions
Given: x=3; y=2; j=5;k=3, evaluate the expression, ( x - y ) < = ( j - k == 3 ) and determine whether it yield a value of True or False.Solution:
(x - y) <= ( j - k == 3 )
(3 - 2) <= (5 - 3 ==3)
(1) < = ( 2 == 3)
true < = false
1 < = 0
FALSE
Labels: eRnz
0 Comments:
Post a Comment
<< Home