How to calculate the run time of a code?

How to calculate the run time of a code? Correct Answer End time – Start time

Run-time statements use the static resources created by compile-time statements, but can also create, use, and destroy dynamic resources at run time. The run time of code can be calculated as: run time = end time – start time

Related Questions

If oil supplies run out, man may have to fall back on the horse. Here 'run out' means-`