Array containing minimum elements of all subarrays

Minimum[k] throws garbage value.
I am not getting the required output
https://ide.codingblocks.com/s/70286

stuti i have marked ur mistake and corrected the code
check this https://ide.codingblocks.com/s/70315

Hey Stuti,
As you are not responding to this thread, I am marking your doubt as Resolved for now. Re-open it if required.

Please mark your doubts as resolved in your course’s “ Ask Doubt ” section, when your doubt is resolved.