PRF192_-_SP_2025_-_Block_5_-_1_3841.webp
T

PRF192_-_SP_2025_-_Block_5_-_1_3841.webp

Kizspy | Question: 22
(Choose 1 answer)
PUUVERA.JW.com
What is the output when the sample code below is executed?
#include<stdio.h>
int main()
{
int a=5, b=10;
while(a>0)
{
label:{
a--;
b--;
while(b>5)
goto label:
}
printf("%d %d",a,b);
return 0;
}
A. 0 5
B. 5 10
C. 10 5
D. 0 0

Thông tin

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

Share this media

Back
Bên trên Bottom