+ 1

How does power function works in c

i know only the power function's result i want to know how it calculates the power

28th Apr 2020, 1:16 PM
U Hariharan
U Hariharan - avatar
3 ответов
+ 1
We simply pass 2 arguments or values to pow function. For example first value is 4 and second value is 3 then 4 will get multiplied to itself by 3 times and the result will be returned which will be 64
28th Apr 2020, 1:33 PM
Prabhat Ranjan
Prabhat Ranjan - avatar
+ 1
Bro I tried your question to code but it is giving some random result. But according to math logic it should be like this: 4.3=43/10 So it will multiply 4 with itself for 43 times and then it will take its under root of 10
28th Apr 2020, 1:43 PM
Prabhat Ranjan
Prabhat Ranjan - avatar
0
if i put 3 and 4.3 then how it will be calculated Prabhat Ranjan
28th Apr 2020, 1:35 PM
U Hariharan
U Hariharan - avatar