Implement power function using C/C++? The function should take two numbers as input (e.g. 2,3) and return 8 as output which is 2^3?