Given the following code :-
r = (a==b) ? (a*a): (b+2);
What will be the value of r if :-
(I) a=5 and b=5
(ii)a=6 and b=12
Answers
Answered by
0
(I) a=5 and b=5 :
Output: 10
(ii)a=6 and b=12
Output: 14
Similar questions
Social Sciences,
2 months ago
Science,
2 months ago
Hindi,
2 months ago
English,
6 months ago
English,
6 months ago
English,
10 months ago
Social Sciences,
10 months ago
English,
10 months ago