Rearrange the following lines of code so that the pointer p
points to the smaller of a
and b
and then sets that value to zero. Not all lines are useful.
^int* p; +if (a < b) +{ . p = &a; - p = a; - *p = a; .} .else .{ . p = &b; - p = b; - *p = b; .} .*p = 0;