what will :
pair<string, int> emp[10005];
this do?? how it works??
About the data type kind of thing used in it
It creates a pair , i.e you can take two values at a time as your input as, string value and other as the int value, and the name of that pair is emp, and since you have taken emp[10005], it means that you have taken arrays of these pairs, And thus when you will work with them, your first value of pair will denote string and second value of that pair will be integer.