answersLogoWhite

0

Is it possible to call library function recursively?

Updated: 8/17/2019
User Avatar

Wiki User

14y ago

Best Answer

There are 2 types of library functions.One system defined & another user defined.In system defined functions we can not determine whether a library function is recursive or not.It may or may not be recursive.But in user defined library functions for example factorial() can be made recursive.No matters whether it is a library function.
So if you understand recursion properly then this question makes no sense.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Is it possible to call library function recursively?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Why is it not possible to call library function recursively?

Your question makes no sense.


Can you call predefined function recursively?

Guess you meant: can a recursive function call predefined functions? Answer: sure, why not.


Is it possible to call library function recursiviely?

No, once you call a library (or any) function, you have to wait until it has returned.Of course the function may call itself, but you do not know or care of that.


How can you call a function written in FORTRAN from a C program?

Is the FORTRAN function part of a library. If it is it will be no different from call a c function in a library. There could be an issue the order that the functions attribures are pusshed onto the stack like there is with pascal.


What is the correct call to the library function strcat?

strcat (into, from); correct. into (strcat, from); incorrect. strcat (from, from); incorrect. ....


How do you call an external function or program that is written in different programming language?

It doesn't matter what language the external program or function was written in since all executables must be converted to machine code. To execute an external function, that function must reside in a library to which your program is linked and you must know the prototype of the function you intend to call. This is usually found in the library header file which can simply be included in your program. You can then call the external function just as you would an internal function. To execute a specific function in another program, however, you must use the command line interface for that program.


What is difference between wait and sleep and delay in C plus plus?

It depends on the particular library implementation. It is not a C++ specific question. As far as C++ is concerned, it is just a function call, just like a call to printf or even exit is a function call. One could be a call to wait for an event. One could be a call to sleep for a specified period of time. One could be a call to burn CPU cycles for a specified period of time. Again, it all depends on the library implementation, and you need to read the documentation for your library to answer this one.


What is the difference between system call and library function call?

On one level, there is no difference. They are both function calls. The only difference is in what they do. System calls do something the user program cannot do; something having to do with system resources: memory, files, devices, network, terminals, processes etc. However, system calls are usually implemented by library function calls because, at the root of the matter, a C or C++ program can only invoke function calls to call upon the operating system to do things.


Can you use a municipal ID card to borrow books from the public library?

Some municipalities have designed their municipal IDs to function as library cards. Such is the case in New York City.This depends on the policy of the public library in question. Since you didn't specify which one you mean, we have no idea. You should call the public library and ask them.


How do you add two numbers with out using operator in c language?

Not possible. Of course you can call a function which does the addition for you, but function-calling is also an operator in C.


Is it possible to compare the return value of a function call with another value using a relational operator?

pancakes


Why printf is known as call by value?

C language uses only one method for parameter-passing: call by value.