Consider the below code written in a programming language that support variables, doesn't allow nested declarations of functions and uses dynamic scoping:

#include

int i = 300, j = 100;

int F(int x) {

    int i = 20;

    printf("%d", x + i);

    i = 220;

    j = 50;

    return x;

}

void main () {

    F(i + j);

}

1
420
2
700
3
50
4
Error
5
Question Not Attempted

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation