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,375
    Likes Received:
    388
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice