The program select contains 4 nested loops. They are not context-dependant. The number of iterations of the loops in the program is dependant on the global variable arr. When run as is, the result is No. of iterations for main_select_L1 = 16 Maximum no. of iterations per invocation for main_select_L1_L1 is 1, sum is 1 Maximum no. of iterations per invocation for main_select_L1_L1_L1 is 1, sum is 1 Maximum no. of iterations per invocation for main_select_L1_L1_L2 is 16, sum is 16