Question: Question about programming in C 21. what does the below output tell about a global variable? #include int globalvari 5 void main func1) printf(%d ,

Question about programming in C
 Question about programming in C 21. what does the below output
tell about a global variable? #include int globalvari 5 void main func1)

21. what does the below output tell about a global variable? #include int globalvari 5 void main func1) printf("%d ", globalvarl); void func1 (0 globalvar1 = globalvarl + 1; printf("%d ", globalvarl); 22. What does the below output tell about a local variable? include void main) int localvar1 = 5; func1 0 printf("sdin", localVarl) void func1) int localVarl-10: localvar1 localvarl 1; printf("%d ", localvarl); 93. what will be the value printed of the local variable, locaivarl below, and why include void main) int localvar1 = func1()

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!