All challenges
Multiple ChoiceIntermediate 30s

static Local

A static local variable inside a function:
Options
  1. 1Retains its value between calls, initialized once
  2. 2Is global and visible to every other translation unit
  3. 3Is stored on the stack and destroyed at each return
  4. 4Is recreated and reinitialized on every function call

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle