Results 1 to 2 of 2

static function in C ?

This is a discussion on static function in C ? within the Programming forums, part of the Web Designing & Development category; Hello Dear, Please Tell Me What is static function in C ?...

  1. #1
    Senior Member
    Join Date
    Apr 2015
    Posts
    195

    Default static function in C ?

    Hello Dear,


    Please Tell Me What is static function in C ?

  2. #2
    Senior Member RH-Calvin's Avatar
    Join Date
    Jun 2013
    Posts
    3,299

    Default Re: static function in C ?

    In C, a static function is not visible outside of its translation unit, which is the object file it is compiled into. In other words, making a function static limits its scope.
    Cheap VPS | $1 VPS Hosting | Windows with Remote Desktop
    Cheap Dedicated Server | $29 Dedicated Server with Free IPMI Setup