given
int x,m = 2000;
short y;
byte b1 = -40, b2;
long n ;
Which of the following assignment statements will evaluate correctly ?
(a)x=m * b1 ;
(b) y = m * b1;
(c) n=m*3L;
(d) x = m* 3L ;
Attachments:
Answers
Answered by
6
Answer:
d) x=m*3L......... ....................
Answered by
2
Answer:
x=m*b1 This expression will be evaluated correctly. The datatype of resultant variable will be int
Similar questions