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
What are keywords c?
Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?
The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none
How many keywords (reserve words) are in c?
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }
What are reserved words with a programming language?
What is a static function in c?
What is property type c?
What is main () in c?
How can I manipulate individual bits?
How macro execution is faster than function ?
How can I manipulate strings of multibyte characters?
Is fortran faster than c?
Do pointers take up memory?
Explain about the functions strcat() and strcmp()?