Group anagrams together

my code is compiling succesfully but not printing the output on hackerblocks

Hey @amaaanahmedkhan987
Mentioned the change in comment : https://ide.codingblocks.com/s/369962

Now change ur code a lil bot to print according to the desired output