Driver program to test to pront printDups
public static void Main ( ) { String [ ] arr = { " geeksquiz " , " geeksforgeeks " , " abcd " , " forgeeksgeeks " , " zuiqkeegs " } ; int n = arr . Length ; findAllAnagrams ( arr , n ) ; } }