Question: 1. The call to a function whose declaration is void getStudents(&numStudents) should be getStudents(&numStudents) True or false 2. How would you set a previously declared
1. The call to a function whose declaration is void getStudents(&numStudents) should be getStudents(&numStudents)
True or false
2.
How would you set a previously declared integer pointer ptrStudents to point to a previously declared integer numStudents?
| *ptrStudents = numStudents | ||
| *ptrStudents = &numStudents | ||
| ptrStudents = &numStudents | ||
| ptrStudents = numStudents |
3. When passing by reference, we are passing the function the pointer to a variable as opposed to the variable itself.
True or false
Step by Step Solution
There are 3 Steps involved in it
Alright lets go through each of these questions one by one Question 1 Statement The call to a function whose declaration is void getStudentsnumStudent... View full answer
Get step-by-step solutions from verified subject matter experts
