Check out example codes for "pow in cpp header file". It will help you in understanding the concepts better.

Code Example 1

#include<cmath> //header file for pow fun


   pow(a,b)    // a^b

Learn ReactJs, React Native from akashmittal.com