to the power in c programming code example Example: c power operator result = (int) pow((double) a,i);