Computer Science, asked by aisha001, 6 months ago


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 dattarajshinde44
0

(I) a=5 and b=5 :

Output: 10

(ii)a=6 and b=12

Output: 14​

Similar questions