Given a pointer to a variable, the task is to complete the function updateVar() which will increment the value of the variable by 10. The function does not returns anything.
The first line of input contains a single integer T, which denotes the number of testcases. Then T test cases follows. Each test case consists of a single line which contains a single integer A.
Corresponding to each test case, print in a new line the updated value of A.
Since this is a functional problem you don't have to worry about input, you just have to complete the function updateVar().
1 <= T <= 100
1 <= A <= 103
If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.