a) (1 > x) || ( 1 > x--) - FALSE
b) (1 > x) || ( 1 > --x) - TRUE
Empezamos con a) y x = 1;
(1 > 1) (1 > 1) - FALSE =>
False False - False =>
False False + True =>
False True =>
True
Y ahora b) y x = 1
(1 > 1) (1 > 0) - TRUE =>
False True -True =>
False True + False =>
False True =>
True
ahora con a) y x = 2;
(1 > 2) (1 > 2) - FALSE =>
False False - False =>
False False + True =>
False True =>
True
Y ahora b) y x = 2
(1 > 2) (1 > 1) - TRUE =>
False False -True =>
False False + False =>
False False =>
False
Aquí un poquito de algebra booleana: http://www.utp.edu.co/eduque/digitales ... uertas.PDF
Si no me equivoco, esas expresiones solo son iguales con x=1.