Question

Which storage class specifier in C allows a local variable to retain its value between successive function calls, while keeping its scope limited to the function in which it is declared?

A auto
B extern
C register
D static
E volatile
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)