Static Keyword
In C/C++, a static variable can be:
1. Inside a function (local static variable) – retains value across function calls.
1.1 - A local static variable is initialized only once and retains its value across multiple calls.
2. Outside a fu...