The code is implementing a recursive search function called recursive_search_num. It takes an array, a number to search for, the current index, and the length of the array as parameters.
In the main function, an array arr is initialized with values {-11,2,-3,0,3,5,-6,7}, and the number to search for is -2. The length of the array is 8.
The recursive_search_num function is called with the array, the number, the initial index 0, and the length 8.
Inside the recursive_search_num function, it checks if the current index is equal to the length of the array. If it is, it means the number was not found in the array, so it returns -1.
If the current element at the index is equal to the number, it means the number was found, so it returns the current index.
If neither of the above conditions is true, it calls the recursive_search_num function again with the incremented index.
In this case, the number -2 is not present in the array arr, so the function will go through all the elements and reach the end of the array without finding the number. Therefore, the output will be "Index of -2 is -1".