Funcion Pow En Dev C++
In the C Programming Language, the pow function. Pow function (Power) In the C. We use advertisements to support this website and fund the development of new.
In the C Programming Language, the pow function returns x raised to the power of y.
Syntax
The syntax for the pow function in the C Language is:
Parameters or Arguments
- x
- A value used in the calculation where x is raised to the power of y.
- y
- A value used in the calculation where x is raised to the power of y.
Returns
The pow function returns x raised to the power of y. If x is negative and y is not an integer value, the pow function will return a domain error.
Required Header
Funcion Pow En Dev C Plus
In the C Language, the required header for the pow function is:
Funcion Pow En Dev C Ing En Dev C++ Con Get
Applies To
In the C Language, the pow function can be used in the following versions:
- ANSI/ISO 9899-1990
pow Example
When compiled and run, this application will output:
Funcion Pow En Dev C Gratis
Similar Functions
Other C functions that are similar to the pow function:
- The C Standard Library
- C Standard Library Resources
- C Programming Resources
- Selected Reading
Description
The C library function double pow(double x, double y) returns x raised to the power of y i.e. xy.
Declaration
Following is the declaration for pow() function.
Parameters
x − This is the floating point base value.
y − This is the floating point power value.
Return Value
This function returns the result of raising x to the power y.
Example
The following example shows the usage of pow() function.
Let us compile and run the above program that will produce the following result −