+ 2

Queue Management Part 2

https://code.sololearn.com/ci4W4kE6k3iA/?ref=app Hey guys. Im stuck at this part. I dont really get what im doing wrong. Can someone explain? Pls dont just paste me the solution. Id like to understand what im doing wrong

25th Jan 2022, 1:52 PM
Leon
Leon - avatar
2 Answers
+ 2
Check about your return statement in operator + overloading function ..
25th Jan 2022, 2:10 PM
Jayakrishna 🇼🇳
+ 2
Omg. Thank you Jayakrishna. I forgot to close the for loop before the return statement. Thanks for poking me in the right direction :)
25th Jan 2022, 4:11 PM
Leon
Leon - avatar