How to find tge number of time of execution for loop in c?
Answers
Answered by
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
French,
6 months ago
English,
6 months ago
Math,
6 months ago
Social Sciences,
1 year ago
Biology,
1 year ago