Can anyone explain the exact difference between a static variable and a local variable in C with a small example? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can anyone explain the exact difference between a static variable and a local variable in C with a small example?

18th Nov 2018, 6:07 PM
GOAT and The Shepherd
GOAT and The Shepherd - avatar
2 Answers
+ 3
18th Nov 2018, 8:00 PM
Matthias
Matthias - avatar
+ 1
Thank you Matthias
18th Nov 2018, 8:11 PM
GOAT and The Shepherd
GOAT and The Shepherd - avatar