I want to know the difference between "Local Linker Symbols" & "Local Program Variables"?
I'm reading a book which has this:
What does each mean? Any examples?
I want to know the difference between "Local Linker Symbols" & "Local Program Variables"?
I'm reading a book which has this:
What does each mean? Any examples?
/* This function has global scope within this file (module). It is represented
* by a "local linker symbol", since the linker will need to resolve its address
* if it is referenced by any other function.
*/
static void some_function()
{
/* These "local program variables" are of no interest to the linker
* since they are not visible outside the current function, so no other
* part of the program can possibly reference them.
*/
int a, b, c;
}