Q&A

What is the value of max in the below code snippet? int val1 = 10;int val2 =

What is the value of max in the below code snippet?
int val1 = 10;int val2 = 20;int max = val1 >= val2 ? val1 : val2​

Leave a Reply

Your email address will not be published.