Quote:
|
Originally Posted by muziti why is this happening?
including all necessary header files ,math.h and stdio.h ,
int main()
{
int i=2;
int y=pow(10,i);
printf("%d",y);
return 0;
}
this program prints 99.
can u help;
thank u. |
i dont know what the problem is coz my compiler isnt showing any problem and printing 100 as the answer
may b your math.h has been tampered
if u get any more such problems, try loading turbo c again and then use it