if function is declared as static in one source file, if I
would like to use the same function in some other source
file...is it possible....how ?

Answer Posted / lakshman

using function pointer in main.c which holds address of
static function in the same file. But function pointer can
be used in other files.

Is This Answer Correct ?    26 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does struct node * mean?

803


Explain the difference between getch() and getche() in c?

744


Where are some collections of useful code fragments and examples?

955


Difference between exit() and _exit() function?

891


What is array within structure?

829


What is the purpose of void pointer?

793


Is flag a keyword in c?

909


Write a program of prime number using recursion.

833


What is the advantage of c?

802


What is time complexity c?

755


How do you define a string?

851


Can i use “int” data type to store the value 32768? Why?

967


Is it better to bitshift a value than to multiply by 2?

864


Place the #include statement must be written in the program?

767


‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .

2590