Doubt in c++

c-plus-plus

#1

Why something like printf("%.0f
",pow(2,1001)) gives correct output even though it is supposed to give correct output upto pow(2,64)?


#2

No its not giving the correct output. Its just giving the first 17 digits correctly


#3

Its not giving correct output