pow function in cpp implementation template code example
Example: pow function c++
#include <iostream>
#include <cmath>
using namespace std;
int main(){
int x = 2;
int y = 3;
cout<<pow(x,y);
}
#include <iostream>
#include <cmath>
using namespace std;
int main(){
int x = 2;
int y = 3;
cout<<pow(x,y);
}