Implementation of insertion sort

http://ide.codingblocks.com/#/s/22234
Why is this code giving error

You are getting error because you have delared an array as int arr at line no 24 , but still there are many errors
I have modified ur code .You can check it out here -->>
http://ide.codingblocks.com/#/s/22236
:slight_smile:

1 Like

I got it. Thank you :slight_smile: