Why 0**0 shows result 1 ?
4/13/2021 10:31:49 AMMeetesh
4 AnswersNew Answer
According to the wikipedia, "in algebra and combinatorics, the generally agreed upon value is 0**0=1". https://en.m.wikipedia.org/wiki/Zero_to_the_power_of_zero In other words, 0**0 = 1 by convention, and defining the expression as `lim x**0` is considered to be more useful than `lim 0**x` (as x goes to 0). I tend to agree, because raising something to the 0th power is like the empty product which is defined as 1.
I understood any number raised to the power of zero is 1, but I never thought of doing (0 raised to 0). I think most languages agreed to that, I had just recently tried it in Code Playground on C, C++, C# PHP, and got the same result.