What is the default value of an uninitialized 'static' variable in C?
A. Zero
B. Undefined
C. Garbage value
D. one
Answer: Option A
A. Zero
B. Undefined
C. Garbage value
D. one
Answer: Option A
What is the primary purpose of the 'static' storage class?
A. Extend scope
B. Preserve value
C. Allocate memory
D. Register access
answer not c, its A bcz uninitialized static variable store 0 not garbage value