NOT ABLE TO GET THE OUTPUT
Hey @dhruv.mahajan.mait
You are getting a warnng
so simply add return 0; in compare function and u will see the output
Here I also debugged the code : https://ide.codingblocks.com/s/378985
Mentioned changes in comments
incase u don’t understand something then let me know 