PRF192_-_S1_-_SU_2023_-_2ndFE_576.webp
E

PRF192_-_S1_-_SU_2023_-_2ndFE_576.webp

  • Media owner Edward88
  • Ngày thêm
(Choose 1 answer)
After the sample code below has been executed, what value will the variable x contain?
int x = 5:
int y = 2;
char op = '*switch (op) {
default: x += 1;
case '+': x += y;case '-' x = y;
}
A. 4
B. 5
C. 6
D. 7
E. 8

Exit 49

Thông tin

Category
PRF192
Thêm bởi
Edward88
Ngày thêm
Lượt xem
1,961
Lượt bình luận
7
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRF192_-_S1_-_SU_2023_-_2ndFE_576.webp
File size
46.2 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom