n = ceil(1234 / (double)1);
cout << n << endl; 
Here output is 1234 but if I write
n = ceil(99999999999999999 / (double)1);
cout << n << endl;
This time I get 100000000000000000 as output. Why this happen?
n = ceil(1234 / (double)1);
cout << n << endl; 
Here output is 1234 but if I write
n = ceil(99999999999999999 / (double)1);
cout << n << endl;
This time I get 100000000000000000 as output. Why this happen?
 
    
    