Driver code
public static void Main ( String [ ] args ) { String [ ] str = { " geeksforgeeks " , " gemkstones " , " acknowledges " , " aguelikes " } ; int n = str . Length ; commonCharacters ( str , n ) ; } }