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 is a double c?

789


Which type of language is c?

849


What are the general description for loop statement and available loop types in c?

916


Do you know pointer in c?

828


What is meant by type casting?

841


What is the difference between typedef struct and struct?

859


What is typeof in c?

787


What is the benefit of using an enum rather than a #define constant?

957


Is it acceptable to declare/define a variable in a c header?

891


What is string length in c?

850


What language is windows 1.0 written?

797


Describe newline escape sequence with a sample program?

899


typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none

991


Is struct oop?

795


what are bit fields in c?

1224