Computer Science, asked by neelam253345, 10 months ago

Give the output of the following: int x = 90;

char c = (x<=90)? ‘Z ‘: ‘10’;​

Answers

Answered by jaiveer197765
1

Answer:

Since it is a relational operator.

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

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 IGiven that x=90

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 IGiven that x=90 And the condition is that x<=90 which is true

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 IGiven that x=90 And the condition is that x<=90 which is truetherefore the answer is Z

Similar questions