PRF192_-_SP_2024_-_Block_5_-_RE_1958.webp
Đ

PRF192_-_SP_2024_-_Block_5_-_RE_1958.webp

(Choose 1 answer)
Why the following code is wrong?
int choice 45/50-CAP 0, b = 1, c = 2;
switch(choice){
case a:
printf("case A happens!");
break;
case b:
printf("Wow, that is B!");
break;
case c:
printf("C please!");
}
break;
A. Lack of default at the end of switch block
B. Can not assign value of choice, a, b, and c at the declaration time
C. The value after the "case" keyword must be the constant
D. The above code is correct.
FUO
2: 46

Thông tin

Category
PRF192
Thêm bởi
Đức Thành2
Ngày thêm
Lượt xem
1,500
Lượt bình luận
3
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRF192_-_SP_2024_-_Block_5_-_RE_1958.webp
File size
204 KB
Dimensions
1920px x 892px

Share this media

Back
Bên trên Bottom