I have seen various answer here that depicts Strange behavior of pow function in C. But I Have something different to ask here.
pow
In the below code I
You've fooled it into thinking that the inputs are real and so it gives an approximate answer, which happens to be slightly under 100, e.g. 99.999999 that is then truncated to 99.