✏️ Explanatory Question

What is static function in C?

👁 1,001 Views
📘 Detailed Answer
💡

Answer with Explanation

All functions are global by default in a C program/file. But, static keyword makes a function as a local function which can be accessed only by the program/file where it is declared and defined. Other programs/files can’t access these static functions.