Why my code is not working

here is the link : https://ide.codingblocks.com/s/208208

Hi @Bhavit_Singla

There is some problem with the sorting function. You can use string instead of character array to store name. Also use inbuilt sort with comparator function.

Hope it Helps.

Link : https://ide.codingblocks.com/s/208239