what does in 5th video of string pair<string,string>strpair[100];
mean
also why have they written it something like strpair[i].first=a[i];
Algo++ string last video
Hey @sneha23 pair<string,string>strpair[100]; means that this data type has two same data types of string in it and strpair is the name initialised to it . Moreover [100] signifies that there will 100 numbers of same data types.
strpair[i].first=a[i]; Means that first string in ith position of strpair Has the value of a[i]
Hope this will clear your doubt 
1 Like
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.