Question: What are the different ways to pass a pointer to a function?
Instructor answer: There are four ways: nonconstant pointer to constant data, nonconstant pointer to nonconstant data, constant pointer to constant data, constant pointer to nonconstant data.

Student answer: They can be passed by value or by reference
Score (0-5): 2.5

Student answer: Nonconstant pointer to nonconstant data, nonconstant pointer to constant data, constant pointer to nonconstant data, constant pointer to constant data.
Score (0-5): 5

Student answer: -Nonconstant pointer to nonconstant data<br><br>     -Nonconstant pointer to constant data<br> <br>     -Constant pointer to nonconstant data<br>  <br>     -Constant pointer to constant data
Score (0-5): 5

Student answer: Four different ways: Nonconstant pointer to nonconstant data, a nonconstant pointer to constant data, a constant pointer to nonconstant data and a constant pointer to constant data.
Score (0-5): 5

Student answer: Pass-by-value or pass-by-reference.
Score (0-5): 2.5

Student answer: you can pass a pointer to a pointer or pass a reference to pointer.
Score (0-5): 2.5

Student answer: by address &bPtr or directly bPtr.
Score (0-5): 2.5

Student answer: Nonconstant pointer to nonconstant data, constant pointer to nonconstant data, nonconstant pointer to constant data, constant pointer to constant data.<br>
Score (0-5): 5

Student answer: By argument and reference.
Score (0-5): 2

Student answer: Nonconstant pointer to nonconstant data, nonconstant pointer to constant data, constant pointer to nonconstant data, and constant pointer to constant data.
Score (0-5): 5

Student answer: pass by value and pass by reference with reference or pointer arguments.
Score (0-5): 2.5

Student answer: you can pass them with the pointer (*) or the memory address (&)
Score (0-5): 2.5

Student answer: nonconst -&gt; nonconst<br>const -&gt; nonconst<br>nonconst -&gt; const<br>const -&gt; const
Score (0-5): 5

Student answer: Nonconstant pointer to nonconstant data<br>Constant pointer to nonconstant data<br>Nonconstant pointer to constant data<br>Constant point to constant data
Score (0-5): 5

Student answer: Non-constant pointer to non-constant data, non-constant pointer to constant data, constant pointer to constant data,<br>constant pointer to non-constant data.
Score (0-5): 5

Student answer: Pass by reference with reference arguments.<br>function(int &)<br><br>Pass by reference with pointer arguments.<br>function(int *)
Score (0-5): 2.5

Student answer: you can pass the reference or the dereference in a function
Score (0-5): 2

Student answer: 1. nonconstant pointer to nonconstant data. Its delcaration does no include  const qualifier.<br>2. nonconstant pointer to constant data. Provides the performance of pass-by-reference and the protection of pass-by-value<br>3. Constant pointer to nonconstant data. <br>4. Constant pointer to constant date.
Score (0-5): 5

Student answer: constant pointer to constant data, constant pointer to nonconstant data, nonconstant pointer to constant data, nonconstant pointer to nonconstant data
Score (0-5): 5

Student answer: Nonconstant pointer to nonconstant data<br>Nonconstant pointer to constant data<br>Constant pointer to nonconstant data<br>Constant pointer to constant data
Score (0-5): 5

Student answer: Pointers may be passed to functions by value, by reference with reference arguments, or by reference with pointer arguments.
Score (0-5): 2.5

Student answer: There are four way to pass pointer to a function<br>1. non constant pointer to non constant data<br>2.non constant pointer to  constant data.<br>3. constant pointer to non constant data.<br>4. constant pointer to  constant data.
Score (0-5): 5

Student answer: nonconstant pointer to nonconstant data<br>nonconstant pointer to constant data<br>constant pointer to nonconstant data<br>constant pointer to constant data
Score (0-5): 5

Student answer: pass by value, pass by reference with reference arguments, pass by reference with pointer arguments
Score (0-5): 2.5

Student answer: you can pass it where either the pointer cant be moved, the data pointed to cant be changed, or both or neither
Score (0-5): 4

Student answer: there are only two ways to pass something, by value and by reference. Use of dot or pointer operators within the receiving function and use of '&' operator inside the passing function
Score (0-5): 2.5