Join ExamsbookAnswer :
Can you suggest any other way of writing the following expression such that 30 is used only once?
a <= 20 ? b = 30 : c = 30 ;5
Q: Can you suggest any other way of writing the following expression such that 30 is used only once? a <= 20 ? b = 30 : c = 30 ;
- Show AnswerHide Answer
- Workspace
Answer :
Explanation :
*( ( a <= 20 ) ? &b : &c ) = 30;

