i write a basic c code to count up to 99999999999.
void main(){
long unsigned int i;
for(i=1;i<=99999999999;i++){
printf("%lu",i);
printf("\n");
}
but it was taking too much time in the C compiler or in .exe file as i m using windows 7.
I want to get the number from 0 to 999999999 in seconds using C code and how much it takes in another languages like java. And how to get this using dos command and batch code. I am using core i7 2720qm.