Write a function that receives two void pointers, each pointing to an integer. Return sum of the two integer.
Note: Function arguments are passed as void * and can’t be changed.
Example-1
Input: a = 10, b = 20 Output: 30
Example-2
Input: a = -5, b = 15 Output: 10
Example-3
Input: a = 100, b = 200 Output: 300
Test Cases
Test Results
Input
10 20
Expected Output
30