Predict the output
int x=90;
char c=(x <=90)? 'Z':'I';
Answers
Answered by
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
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
Social Sciences,
6 months ago
English,
6 months ago
Social Sciences,
11 months ago
Math,
1 year ago
English,
1 year ago