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