What is the error in this code ...?byte b = 50; b = b * 50; - Study24x7
Social learning Network

Warning: include(./views/auth.php): failed to open stream: Permission denied in /var/www/html/live/loginRightSlider.php on line 18

Warning: include(): Failed opening './views/auth.php' for inclusion (include_path='.:/usr/share/php') in /var/www/html/live/loginRightSlider.php on line 18
692 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