I want to write a program to add two numbers, such that the addition result is not going to overflow at anytime.Can somebody help me out.

Thanks.