Problem:
Question 1- Write a function call with arguments tensPlace, onesPlace, and userInt. Be sure to pass the first two arguments as pointers. Sample output for the given program:
tensPlace = 4, onesPlace = 1
Question 2- Define a function UpdateTimeWindow() with parameters timeStart, timeEnd, and offSetAmount. Each parameter is of type int. The function adds offSetAmount to each of the first two parameters. Make the first two parameters pass-by-pointer. Sample output for the given program:
timeStart = 3, timeEnd = 7 timeStart = 5, timeEnd = 9
Please show code with comments so I can follow what you are doing.