← BYTES
C·Starter·Ref: 7.1.3

What does the static keyword do to a local variable in C?

Have a question about this video? Mention reference 7.1.3 when you contact us.

a.Makes it global
b.Deletes it after the function returns
c.Makes it a constant
d.Preserves its value between function calls
A static local variable retains its value across calls instead of being reinitialized each time the function runs.

Find this on YouTube & Instagram

Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:

#BYTES#BYTES713#C