i just want to cout pair elements, but its showing erroe
Pair and pair class
hi @Sakshi_Suman there is a conflict of variable names, a is the name of your array and a is also the first values of the pair…I hope you understand why is that an issue. Change the names of either of them. Like this https://ide.codingblocks.com/s/281735
yea, got it!!!
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.