Https://ide.codingblocks.com/s/246250

whats wrong in my code why it is nit giving a right anser plzz comment it out

https://ide.codingblocks.com/s/246250 plzz expain the case where i comment the code

@Aditya-Kushwaha-914550392281281
here is the modification in your code,you had not updated the carry properly in first while loop,
your second while loop is correct and you have to check for condition when at last you have carry remaining as 1

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.

https://ide.codingblocks.com/s/269997 why is not givinmg righht output

@Aditya-Kushwaha-914550392281281
You have not give space and print comma while printing final final array

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.