I have a problem about Netbeans. This is my code :
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int main(){
int i;
clock_t start, finish;
start = clock();
for(i = 0; i < 10000000000; i++);
finish = clock();
printf("%f", (float)(finish-start)/CLOCKS_PER_SEC);
return 0;
}
When I run the program on Netbeans 8.1, the output is 0.000000, but it is 0.2100000 when I tried on Dev C.