Consider the below given C program snippet:

int x;

int main() {

    x = 23;

    f();

    g();

}

void f() {

    int x = 76;

    int y = 100;

    h();

}

void g() {

    int x = 46;

    int z = 27;

    h();

}

void h() {

    printf("%d\n", x);

}

Let x1 and x2 be the two values obtained from static scoping and y1 and y2 be the two values obtained from the dynamic scoping. What is the maximum value among x1, x2, y1 and y2?

Enter numerical value using the virtual keypad. Round off where necessary.

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation