Home » Technical Questions » Programming

Can you suggest any other way of writing the following expression such that 30 is used only once? a <= 20 ? b = 30 : c = 30 ;

Correct Answer: *( ( a <= 20 ) ? &b : &c ) = 30;

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion