Question: PARTICIPATION ACTIVITY A8.3.5: Function with pass by pointer Given the following ConvDigits0 function, void ConvDigits(int inNum, int* tensval, int* onesval) 1) What is the value

PARTICIPATION ACTIVITY A8.3.5: Function with pass by pointer Given the following ConvDigits0 function, void ConvDigits(int inNum, int* tensval, int* onesval) 1) What is the value of the variable numTens, after the following int numTens; function call? int numones ConvDigits (45, &numTens, &numones); Check Show answer 2) What is the value of the variable numOnes, after the following int numTens; function call? int numones ConvDigits (93, &numTens, &numones); Check Show answer 3) Provide the code needed to obtain a pointer to a variable named tensDigit Check Show answer 4) Write a function call using ConvDigits0 to store the tens place and ones place digits of the number 32 within the variables tensDigit and onesDigit. End with Check Show answer Feedback
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
