Journal General Wesc's Journal: Three large numbers 1
I'm looking for three large numbers that will add up to ten via overflow. I'm not sure how large the integers (or maybe even floats) are, so it may take some trial and error.
The only possible interpretation of any research whatever in the `social sciences' is: some do, some don't. -- Ernest Rutherford
in C? (Score:2)
{
const unsigned long A = 1431655771;
const unsigned long B = 1431655768;
const unsigned long C = 1431655767;
unsigned long ten;
ten = a + b + c;
printf("%lu",ten);
}