What will be the value of a 'static' variable defined inside a function if it…

What will be the value of a 'static' variable defined inside a function if it is modified in consecutive function calls?

  1. A.

    Original Value

  2. B.

    Last Modified Value

  3. C.

    0

  4. D.

    Undefined

Attempted by 190 students.

Sign up free to check your answer

Sign up free

Explore the full course: Isro

Loading lesson…