Count Repeated Characters In Array Using Pointers