Question: What is the main difference between a global variable and a static local variable? O A. They use different garbage collection mechanism B. They use

What is the main difference between a global variable and a static local variable? O A. They use different garbage collection mechanism B. They use different type of memory C. They have different scope. O D. They have different lifetime
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
