6. Converting the code using ternary operator.
Ex: if (a>10) b=20;
else b=30;
Ans: int b= (a>10) ? 20:30;
Answers
Answered by
0
Answer: True
Explanation: The answer is correct
Similar questions