Lesson 42 of 42 · +100 xp

Static Var

Keeps value between calls.

Explained simply

Your task

Write: static int counter = 0;

static-c.c
← Back