I've got a simple while loop in C;
int i=1
while (i>0)
{
i=i*1000
}
In theory this should never end, but it does (because i becomes too big). What causes that? I presume this is a computing basic (i.e; "cant handle a number over XXX), but I'm not entirely sure.
Thanks.
int i=1
while (i>0)
{
i=i*1000
}
In theory this should never end, but it does (because i becomes too big). What causes that? I presume this is a computing basic (i.e; "cant handle a number over XXX), but I'm not entirely sure.
Thanks.