Computer Science, asked by Shambhavi012, 3 days ago

int x = 20
int m=(x!=10) ? ++ x : --x ;
System.out.print (m);
System.out. print (m ++) ;
System out print (m);

It's a ternary operator question
I want the output​

Answers

Answered by ajb7899
1

Answer:

The output is :-

19

19

20

If it helps kindly mark it as brainliest giving 5 stars.

Similar questions