Computer Science, asked by meltingicecream1818, 5 hours ago

Is the following statement correct syntax wise? boolean x = (a>b)?a;b;;

Answers

Answered by Sanskar260
1

Answer:

No

The correct syntax: int x = (a>b)?a:b;

Similar questions