for(i=0;i< String (1234455....upto >=500 digits);i++)

This is insane. Even with a 19 digit number (long precision), and running 1 million loops per second, it will take more than a hundred thousand years to complete. At about 24 digits it will take a time greater than the lifetime of the entire universe so far (13.5 billion years). What exactly do you really want to do here?

Votes + Comments
So you think the expectation is unreasonable? :)
for(i=0;i< String (1234455....upto >=500 digits);i++)

I don't see any problem in this.....

If you believe in re-incarnation that is. ;-)

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.