Simple mappings


i was making map of array values and it characters in map.it was showing error,why?

Hi chandra
use map<char,int>
instead of map<string,int> as you are making pair of char and int.

Hope it helps
Mark resolved if satisfied :slight_smile: