• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 234
  • Last Modified:

const & static function

in c++ programming we can declare function with follow:
static fun(*s);
this case mean passing array as parameter to function..
but what static mean????
 
0
fathikhid
Asked:
fathikhid
1 Solution
 
jhanceCommented:
To quote from the C docs:

"When modifying a variable or function at file scope, the static keyword specifies that the variable or function has internal linkage (its name is not visible from outside the file in which it is declared). "

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now