Question: The correct answer is 3 can I get help with this question, I got an answer output of b is 5 so all the global

The correct answer is 3
can I get help with this question, I got an answer output of b is 5
so all the global is blank since there's no declaration value(can I treat it as Zero?).
and go though main int a,b,c are declared and given value.
function b =f (a,b)
int b is declared of value 3
function g()
b is not declared, should I go to main to grab b=2
or should I go to global to grab b=0?
x=2+3=5
back to main b is updated to 5?
that's not give the correct answer.
can someone help with an explanation? many thanks!
Consider the following program written in C syntax The output of this program using static scoping is: 2 3 4 5 6
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
