VECTOR OF PAIRS

How is pair stored in a vector? Does vector not store a single element whereas a pair has two elements or more. So how two values are stored in a single block?

@shiwanitehlan_5cf99744487d0b23 as here u r making vector of pairs so its now a vector which can store a pair

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.