Bracket Generation problems

why the open close variable in not reflected in the function call

hello @Vikaspal


dont increremnt it here . because later we will need its value.
instead increment it like this->

image

@aman212yadav ya actually if increment it here it is not counting to relfect in the function call??

it will be reflected.
but we want same value in our second if.thats why i m telling u to place open+1 while calling

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.