Business Studies, asked by Nikhildcruz1069, 1 year ago

How to find tge number of time of execution for loop in c?

Answers

Answered by arjun6068
0

HERE IS UR ANSWER

⬇️⬇️⬇️⬇️⬇️⬇️

To calculate time taken by a process, we can use clock() function which is available time.h. We can call the clock function at the beginning and end of the code for which we measure time, subtract the values, and then divide by CLOCKS_PER_SEC (the number of clock ticks per second) to get processor time, like following.

Ϧ០ᖰ៩ ɨƬ Ϧ៩ɭᖰន ƴ០⩏ 

Similar questions