+ 1

What is the use of static functions in c? How it is allowed to use them in different files ?

Static keyword

15th Oct 2019, 5:09 PM
Arpita
4 Answers
15th Oct 2019, 7:40 PM
Ipang
+ 2
look at this code and you'll understand static variables basically saves the value on the function and doesn't get deleted / overwritten when the function is called again. https://code.sololearn.com/cWGssWjLO2Bu/?ref=app
15th Oct 2019, 8:22 PM
Shen Bapiro
Shen Bapiro - avatar
+ 1
Thank you
23rd Oct 2019, 4:27 PM
Arpita