Answer:
void UpdateTimeWindow(int* timeStart,int* timeEnd,int offsetAmount){
*timeStart=*timeStart+offsetAmount;
*timeEnd=*timeEnd+offsetAmount;
}
Step-by-step explanation:
here we are using 2 int pointers for the function UpdateTimeWindow() as we are passing addresses to pointer variables from main like below
(UpdateTimeWindow(&timeStart,&timeEnd,someValueforOffset)
the 2 pointers receives these int variables addresses and we are adding values of those locations to the offset