Here you can try to run the code yourself. Click the Run button at the bottom of the following code to compare the run times. There's no difference.
#include <stdio.h>
int main(){
for(int i=0 ; i<100000; i++)
for(int j=0; j<100; j++)
{
int c = 0;
}
return 0;
}
#include <stdio.h>
int main(){
for(int i=0 ; i<100; i++)
for(int j=0; j<100000; j++)
{
int c = 0;
}
return 0;
}
© 2024 OneMinuteCode. All rights reserved.