What is a static function in c?



What is a static function in c?..

Answer / Arti Kumari

'Static' functions in C have a limited scope, meaning they are only visible within the file where they are defined. Static functions cannot be called from other files, and their visibility is restricted to the local translation unit (the source code file).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

Why is c called c?

1 Answers  


Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.

1 Answers  


Can two or more operators such as and be combined in a single line of program code?

1 Answers  


Explain what’s a signal? Explain what do I use signals for?

1 Answers  


Difference between pass by reference and pass by value?

1 Answers   TCS, TISL,


What is sizeof array?

1 Answers  


The program to allow the characters from the input received and send this function to a function check if the characters between letters a to z is a function of y joins as the characters main and output to otherwise return to the original function of the y characters

0 Answers  


const char * char * const What is the differnce between the above tow?.

6 Answers   Ramco, TCS,


main() { charx; while (x=0;x<=255;x++) printf("\nAscii value %d Character %c,x,x); }

2 Answers  


what is const volatile?

2 Answers  


what will be maximum number of comparisons when number of elements are given?

1 Answers  


What is the size of a union variable?

1 Answers  


Categories