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

Is a pointer a kind of array?

589


What does struct node * mean?

584


Write a C program in Fibonacci series.

622


What is the heap in c?

629


Which programming language is best for getting job 2020?

598






What is the use of extern in c?

633


Explain how do you print an address?

637


Explain what is dynamic data structure?

634


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.

2633


What are compound statements?

616


What are terms in math?

575


Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?

554


What is c++ used for today?

649


What is typeof in c?

595


What are the primitive data types in c?

561