whats wrong in my code why it is nit giving a right anser plzz comment it out
Https://ide.codingblocks.com/s/246250
@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.
@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.