Please explain my mistake

Error code- https://ide.codingblocks.com/s/295673
Input and output parameters can be string only as i am trying this question ( https://leetcode.com/problems/add-strings/ )
This is my previous code with arrays as as input (https://ide.codingblocks.com/s/295675 )

@Prabhleen_sheenu in your code you stored rem as integer in c string,you have to store it as char, for reference see this code

1 Like

thank you sir!
when i am trying to submit this code by returning c i am getting this as result

image

sir???

sir please ???

Sorry I couldn’t reply back on time. Do you still have any problems?

yes, same problem…

problem solved …

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.