answersLogoWhite

0

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

User Avatar

Wiki User

12y ago

What else can I help you with?

Continue Learning about Engineering

What is a Generic Function in c plus plus?

Predefined functions are built-in functions that perform standard operations and that generally do not depend on any classes. A predefined void function is simply a predefined function that has no return value. An example of a predefined void function is the abort() function which typically has the following signature: void abort(void);


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.


What are predefined codes?

Predefined codes or the predefined functions are the codes small or large codes which are predefined by the maker of the language. In C++ the predefined codes can be included in the program by the header files. These codes are placed in files and functions could be used to access them. Like a simple console Code to output "Hello World" uses a predefined code cout


What search method cannot be performed recursively?

The stack search method cannot be performed recursively.


Write a C-like program fragment that calculate the factorial function for argment 12 with do while loop?

#!/usr/bin/perl print factorial($ARGV[11]); sub factorial { my($num) = @_; if($num == 1) { return 1; # stop at 1, factorial doesn't multiply times zero } else { return $num * factorial($num - 1); # call factorial function recursively } }

Related Questions

Why is it not possible to call library function recursively?

Your question makes no sense.


What is a Generic Function in c plus plus?

Predefined functions are built-in functions that perform standard operations and that generally do not depend on any classes. A predefined void function is simply a predefined function that has no return value. An example of a predefined void function is the abort() function which typically has the following signature: void abort(void);


How do you draw line without using any predefined function?

That won't happen, you have to have a predefined putpixel (or something like that) function.


How constant are used in c?

it is predefined function


Is main a predefined function in c?

yes


Create a function for power in C?

Not necessary, there is a predefined 'pow' function.


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.


A predefined formula that allows us to do complicated calculations easily is known?

...as a function.


Is main a predefined function in java?

No. It is a user defined function which the person who is creating the java class has to code by himself.


What is header function definition in c language?

No predefined 'header' function in the standard C libraries. There are header files, if that's what you mean.


What is the dialog box containing predefined functions available in Excel?

The Insert Function dialog box.


What are predefined codes?

Predefined codes or the predefined functions are the codes small or large codes which are predefined by the maker of the language. In C++ the predefined codes can be included in the program by the header files. These codes are placed in files and functions could be used to access them. Like a simple console Code to output "Hello World" uses a predefined code cout