HOW CAN ADD OUR FUNCTION IN LIBRARY.

Answer Posted / ravi joshi

Do you mean funtion(s) in libc? if not, it is very simple.
Irrespective or static or dynamic, the library always
contains an executable code but not linked. When application
uses the library, the code is linked at application link
time or load time depending on whether the library is static
or dynamic respectively.

for adding function in a library, just add the new function
as if you are adding any other function and recompile it as
a library. When linked with application, the new function
will become useable.

Is This Answer Correct ?    1 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is meant by 'bit masking'?

735


What are the properties of union in c?

679


what do the 'c' and 'v' in argc and argv stand for?

743


Why we use void main in c?

691


What is the difference between array_name and &array_name?

863






Is a house a mass structure?

744


What is %d called in c?

850


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

656


What does *p++ do? What does it point to?

705


hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel

1503


What is the use of extern in c?

740


How do I determine whether a character is numeric, alphabetic, and so on?

729


Why doesn't C support function overloading?

1913


What are the types of data structures in c?

705


What happens if header file is included twice?

770