I am not getting any output but i guess my logic is correct please tell my mistake

hello @anantgovil123
image

value of k after this while loop will be 0.
that why in next for loop it is not printing anything

i did now every digit is coming correct except first digit please rectify it

i did now every digit is coming correct except first digit please rectify it https://ide.codingblocks.com/s/296256

image
u can do this only when i>=0 and j>=0

handle the case when i<0 and j>=0 or i>=0 && j<0

and in while put condition i>=0 || j>=0

i did the changes said by u still output is coming wrong sir https://ide.codingblocks.com/s/296256

u havent saved the chnages,
pls check and share ur updated code

https://ide.codingblocks.com/s/296281 check this now please

a)array size of c should be k+1
b) in the end if carry >0 then print carry as well.

check ur updated code->