Smart keypad-Advanced


Why is it not printing anything?
I tried several ways like find function and all but it is not working. Is the website down?

hi @mohitsethia

no site is not down

instead of string use character array it will work

or if you want to do it using string this is correct way
modified code

I was using character array first, since that was not working that is why I changed it to string.
Can you please what is the reason behind this? using push_back and pop_back, why not assigning values in out[j] directly?

this operation is not allowed in strings

you can’t assign a char to string instead you can update it

for more details you can see Documentation