1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Some one please explain me about "pow statement"??

Discussion in 'C' started by ramgates, Feb 5, 2007.

  1. ramgates

    ramgates New Member

    Joined:
    Jan 29, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Hai guys please someone explain me about "pow statement".... :( :eek:
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,292
    Likes Received:
    365
    Trophy Points:
    83
    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
     

Share This Page