In C, which statement about static inside a function is correct?

TPSC Computer/IT Posts 2026

In C, which statement about static inside a function is correct?

  1. A.

    Lifetime is entire program

  2. B.

    It is initialized every time function is called

  3. C.

    It is stored in stack

  4. D.

    It cannot be modified

Attempted by 383 students.

Sign up free to check your answer

Sign up free

Explore the full course: Isro

Loading lesson…