What is the error in this code ...?byte b = 50; b = b * 50; - Study24x7
Social learning Network
684 followers study24x7 02 May 2019 06:24 PM study24x7 study24x7

What is the error in this code ...?

byte b = 50; b = b * 50;

A

b cannot contain value 100, limited by its range

B

* operator has converted b * 50 into int, which can not be converted to byte without casting

C

b cannot contain value 50

D

No error in this code

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles