addition of two numbers using pointer