I noticed something that when I tried printing factorial of number whose value was out of bounds of the data type ; It displayed zeros continously when i gave the print command ! For instance , factorial of 100 ;
Why doesn’t the compiler rather shows an Error that the data you are trying to store is excceeding the limit ??
Problem : https://www.codechef.com/problems/FCTRL2