Computer Science, asked by pankajgarg7211, 1 year ago

Predict the output
int x=90;
char c=(x <=90)? 'Z':'I';

Answers

Answered by SonamYanki
28

Answer:

Since it is a relational operator.

then if the condition is true then the answer will be from the first one means Z or else I

Given that x=90

And the condition is that x<=90 which is true

therefore the answer is Z

Answered by asadshekh099
1

Answer:

Since it is a relational operator.

then if the condition is true then the answer will be from the first one means Z or else I

Given that x=90

And the condition is that x<=90 which is true

therefore the answer is Z

Explanation:

Similar questions