Code:am trying to time a for loop for different values but I can't get my for loop to stop and with the timing function I am using is it measuring in milliseconds or something else? #include< iostream > #include< iomanip > #include< cstdlib > #include< ctime > #include< cstdio > #include< fstream > const int vSize = 1; using namespace std; int main() { //Random numbers to be sorted int vec[vSize]={50};//,50000//,100000,200000,400000}; //Declare the clock variables clock_t start,finish; clock_t startAll; //Declare and initialize all the variables double duration; //Declare the streams and the input and output files ifstream inFile; ofstream outFile; inFile.open("input1.txt"); outFile.open("output1.txt"); int Sum=0; //Test the algorithms start=clock(); outFile<<"Numbers to be sorted"<< endl; for(int i =0; i < vec[vSize]; i++) { Sum++; cout<< Sum; } //Switch statement to start the different sort algorithms finish=clock(); duration=(double)(finish-start)/CLOCKS_PER_SEC; cout<<" "<< setw(4)<< duration; finish=clock(); duration=(double)(finish-start)/CLOCKS_PER_SEC; cout<<"Total Duration"<< duration<< endl; return 0; }//end of main