0

pow() function in c returns wrong value for integer data.

For ex:-

a=10;
b=2;
c=pow(a,b);
printf(%d,c);

output should be 100 , but it gives 99.
Any solution to this problem ?

yashraj
  • 21
  • 3

0 Answers0