PRF192_-_SP_2024_-_RE_1724.webp
true_love

PRF192_-_SP_2024_-_RE_1724.webp

Qmark: 1
Total Marks: 50
Vol: 8
Font: Microsoft Sans Serif
Size: 10
Time Left:45:29
Multiple Choices
(Choose 1 answer)
int a = 5, b = 2;
What is the output when the sample code below is executed?
switch(a+b) {
case 1: break;
case 2: b = a; break;
default: b = -1; a = 4;
}
printf("%d %d",a,b);
A. 4 -1
B. 5 2
C. 5 5
D. 5-1

Thông tin

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

Image metadata

Filename
PRF192_-_SP_2024_-_RE_1724.webp
File size
173.6 KB
Dimensions
1834px x 882px

Share this media

Back
Bên trên Bottom