Knowledge Walls
Venkatesan
Hyderabad, Andhra Pradesh, India
Passcode:
pow(x as int,y as int) in Math Library Functions of Programming in CPP
1183 Views
Usage 
The Power function is used to returns base raised to the power exponent value.
Syntax 
pow( a,b);
Example
#include <stdio.h>     
#include <math.h>      

int main ()
{
  printf ("9^ 2 = %f\n", pow (9.0, 2.0) );
  return 0;
}
Output 
9^ 2 = 49
Next Topics
Next lessons of current book.
Math Library Functions of Programming in CPP
Math Library Functions of Programming in CPP
Math Library Functions of Programming in CPP
Math Library Functions of Programming in CPP
Math Library Functions of Programming in CPP
Previous Topics
Previous lessons of current book.
Math Library Functions of Programming in CPP
Math Library Functions of Programming in CPP
User-defined Functions of Programming in CPP
User-defined Functions of Programming in CPP
User-defined Functions of Programming in CPP
Best Lessons of "Programming in CPP"
Top lessons which are viewed more times.
String Class in CPP of Programming in CPP
Math Library Functions of Programming in CPP
String Class in CPP of Programming in CPP
Math Library Functions of Programming in CPP
User-defined Functions of Programming in CPP
Math Library Functions of Programming in CPP
  Copyright © 2014 Knowledge walls, All rights reserved
KnowledgeWalls
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details