You are given two integer variables: n1 and n2.
Task:
int **pp
) to a function.Example-1
Input: n1 = 10, n2 = 50
Output: 50
(10 is even ➔ reassign to n2)
Example-2
Input: n1 = 7, n2 = 100
Output: 7
(7 is odd ➔ keep pointing to n1)
Example-3
Input: n1 = 22, n2 = 88
Output: 88
(22 is even ➔ reassign to n2)
Input
10 50
Expected Output
50