what does this statement do — pair<string,string> strpair[100];
Never seen this, can you please explain?
Problem in understanding a part of the video
hello @chaturvedia336
here we r declaring an array of size 100.
and the datatype of this array is pair<string,string> i.e each index of this array will hold a pair of strings
Is this some sort of vector declaration?
No it is array declaration only.
i think u r confused with pairs ,read this pairs
and then this should make sense to u
Are there any other such different methods for datatype declaration, besides the normal ones?
yeah we u will learn stl then u will get to know them
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.