Time Difference Calculation in CPP

Calculate Time difference in C and CPP: We can use clock() function from the ctime  library to calculate time...