Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   Some one please explain me about "pow statement"?? (http://www.go4expert.com/forums/explain-pow-statement-t2856/)

ramgates 5Feb2007 18:02

Some one please explain me about "pow statement"??
 
Hai guys please someone explain me about "pow statement".... :( :eek:

shabbir 5Feb2007 19:23

Re: Some one please explain me about "pow statement"??
 
Defined in
#include <math.h>

Syntax:
double pow( double b, double p );

Description:
It returns base (b) raised to the power(p).

Example:
double x = pow(2,3) will return 2 x 2 x 2 = 8


All times are GMT +5.5. The time now is 08:13.