School Accuracy: 66.83% Submissions: 7014 Points: 0
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().