Sum of 2 arrays

https://hack.codingblocks.com/contests/c/509/217
https://ide.codingblocks.com/#/s/30986

not printing any output…

You can not convert the array to numbers and add it because size of array is as large as 1000. So C++ allows us to have a integer of max 18 digits.
Try some other Approach.

HINT:
Try adding numbers like you do on pen and paper. Start from units place, add the digits, take the carry and move to next position.

SOLUTION:
https://ide.codingblocks.com/#/s/31051