Register now or log in to join your professional community.
Result in this case will be0 as the initialized value of Result is0
the function will return value of result =0
The function does finding the yth power of x.However since the result is initialized to zero the value will be zero always.