marți, 6 ianuarie 2015

Why Declare a Function Static in C?

This is a nice thing to be aware of.
Making functions static only makes them visible to the translation unit (.c file) that you declare them into and may even bring performance improvements when compiler optimization is enabled.
Full lenght discussion on Stack Overflow:

Niciun comentariu:

Trimiteți un comentariu