by Dinesh Thakur

The function call pow(a, b) is used to evaluate ab, The pow function gives a domain error if the value of a is zero and b is less than or equal to zero or if a is negative and b is not an integer.

#include <stdio.h>
#include <math.h>
double a= 2.0;
double b= 3.0;

C Program Write a Program with Pow() Function