Why it is not showing the o/p it is code of decimal to any other no system
You have not declared the string of size 1, then you are indexing it at values greater then 0, this might result is run time error. You are printing ans[0] only. Use push_back or create an array of 10000
This how you should use push_back
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.