Question

When applied to a local variable inside a C function, what does the "static" keyword primarily do?

A It deletes the variable's value immediately after the function returns
B It preserves the variable's value between successive calls to that function
C It forces the variable to be recalculated every time the function is called
D It converts the variable into a global variable accessible from any file
E It makes the variable's value change randomly on each call
Practice Next

Hey! Ask a query

🎓
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
  • 200 Questions with Detailed Solutions
  • Section-wise Coverage (GA, English, Quant & Reasoning)