What is the most efficient way given to raise an integer to the power of another integer in C?

// 2^3
pow(2,3) == 8

// 5^5
pow(5,5) == 3125

19 Answers
19

Leave a Reply

Your email address will not be published. Required fields are marked *