In C, to retain the values of variables between function calls, we should use:

In C, to retain the values of variables between function calls, we should use:

  1. a) auto
  2. b) extern
  3. c) static
  4. d) register

From the BCS Technical Cadre (CSE) October 2025 – 49th BCS Written (Special) (BPSC) exam, question 28 of 123.

More from this paper