On Mon, Dec 3, 2012 at 11:14 PM, dhinesh someone <dhineshflames@xxxxxxxxx> wrote: > what are the properties of static function in c in gcc compiler? > how linker does linking between library and source code... > what is mean by static and dynamic linking These questions have nothing to do with GCC. This is not the best place to ask them. The properties of "static function in c" are the same for GCC as they are for any other C compiler. A static function is not visible outside the compilation unit in which it is defined. The linker does not link source code, it links object files. For details on how linkers work, see the series of blog entries starting at http://www.airs.com/blog/archives/38 . That series also covers dynamic linking. Ian