title: HOW I CALCULATE TIME IN C PROGRAM
body: <p><strong>how i calculate real time in a program of c ....</strong></p>
  
  <p>__________________________start=clock();
  ----------------------------end=clock();</p>
  
  <p>diff=end-start;</p>
  
  <p>start=124682129.0000000
  end =124682129.0000000
  result value of diff is 0.0000000000000000000000</p>
  
  <p>i am sorting an array i want to calculate time before sort and end of sort in gcc compiler ...... </p>
  
  <p><strong>how i can calculate these times?
  real time
  execution time</strong></p>