Answer:
The output will be (3, 4) becomes (8, 10)
Explanation:
#include <stdio.h>
//If you send a pointer to a int, you are allowing the contents of that int to change.
void CoordTransform(int xVal,int yVal,int* xNew,int* yNew){
*xNew = (xVal+1)*2;
*yNew = (yVal+1)*2;
}
int main(void) {
int xValNew = 0;
int yValNew = 0;
CoordTransform(3, 4, &xValNew, &yValNew);
printf("(3, 4) becomes (%d, %d)\n", xValNew, yValNew);
return 0;
}