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
Is a pointer a kind of array?
What does struct node * mean?
Write a C program in Fibonacci series.
What is the heap in c?
Which programming language is best for getting job 2020?
What is the use of extern in c?
Explain how do you print an address?
Explain what is dynamic data structure?
Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.
What are compound statements?
What are terms in math?
Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?
What is c++ used for today?
What is typeof in c?
What are the primitive data types in c?