CPP-Stack Implementation

why does v.size==0 is showing error in my code.please correct me

@itsexp_2302 Please use braces and change it to v.size()==0, then it works fine.
If you don’t have any further doubts please mark the doubt as resolved.

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.