wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

int f(int x)
{
static int y =10;
x = x*y; y++;
return (x);
}
void main ()
{
static int a = 1;
a = f (a);
a = f (a);
print f("%d", a);
}

A
110
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
121
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
100
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
10
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Join BYJU'S Learning Program
CrossIcon