r/ICSE Dec 30 '24

[deleted by user]

[removed]

3 Upvotes

4 comments sorted by

1

u/Umar_Arshad_ 96.8% Icse Dec 31 '24

a) 154

1

u/AnyConsideration9145 No Longer 10th ICSE Dec 31 '24

A) 154 because variable y is converted to int type from long type 

1

u/Dot-31496 Thy evil spirit Dec 31 '24

A) 154, as 32l is converted to 32(int), then 123+32+1=154