OD
(Choose 1 answer)
#include<stdio.h>
What is the output when the sample code below is executed?
int calculate(int c)
{
c = c + 15;
if(c>=45)
return(10);return(10*10);else
}
int main()
{
}
int a=20.b:
b=calculate(a);printf("%d %d", a, b);
return(0);
A. 45 100
B. 45 10
C. 20 10
D. 20 100
Exit 29