Output is not coming in insertion sort

code is compiling but not giving correct output

@Laxminarayan,
Please share your code: https://ide.codingblocks.com/

Save the code and share with me the link of your code.

@Laxminarayan,
I have corrected your code: https://ide.codingblocks.com/s/211198

You need to convert numbers from binary to decimal. And there was no code for that. You don’t need to do insertion sort here.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.