What is local variable in C?
Michael Green
Published May 05, 2026
Variables that are declared inside a function or block are called local variables. They can be used only by statements that are inside that function or block of code. Local variables are not known to functions outside their own.