The ternary operator (a>b) evaluates to 1 (true) since 5>4, so &a is selected. The assignment *((a>b) ? &a : &b) becomes *&a, which assigns to a. The expression (a+b>c) is 5+4>10 = 9>10 = 0 (false in C). So a becomes 0, b remains 4. Hence output is '0 4'.