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
What is malloc() function?
What is hungarian notation? Is it worthwhile?
Write a program to check whether a number is prime or not using c?
When we use void main and int main?
#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 is double pointer?
What are the application of void data type in c?
What is a good way to implement complex numbers in c?
What is the difference between functions getch() and getche()?
What are local variables c?
When can a far pointer be used?
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon
How to create struct variables?
What are dangling pointers in c?
Why ca not I do something like this?