my code does’nt output anything and it does’nt have any errors. can you suggest me where I am going wrong?
I'm having problem running the code for this topic
the code worked fine on vs code
there is not reason why the code does not work on cb ide
So, what should I do?
what is it giving when u submit in the course question
The question in course is different I was trying for myself. Though on ideone it shows compiled successfully but output is empty.
The output is correct but can you please fix cb ide? So, that i could see my results there too?
I guess when I’m declaring if(i==null) that is creating a problem in cb ide but why? it has to initialised to null only.
int digit=inp[i]-’\0’;
this needs to be
inp[i]-‘0’
line 13
giving only single result
Got it!! Thanks you
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.