There are many issues with your code....to start with... you should not use
void main(void)...it should be
int main(void)...secondly, make variable
i as long instead of int and try increasing the limit of in for loop to 100000000 or to even higher value ....you will notice a time difference
Login