How can I calculate the execution time in the following code:
#include /* Core input/output operations */ #include
Because you don't have adequate format strings for them, you need something starting with a '%', like:
printf(" Time :%d \n", clock() );