How to calculate Execution time in milliseconds?
if i use time() function i can get the result only in seconds .
What about clock function ? How to print the difference using clock_t variable?
ts=clock();
quicksort(x,0,size-1);
printf("Time elapsed: %f\n", ((double)clock() - ts) / CLOCKS_PER_SEC);
its only resulting in Seconds .