|
Solutions : Pointers - Part I
|
|
[Q001]
|
|
(b)ptr is
a pointer to an integer
quantity
|
|
|
|
[Q002]
|
|
(c)ptr is a 10-element array of pointers
to integer quantities
|
|
|
|
[Q003]
|
|
(b)ptr is
a pointer to a 10-element integer
array
|
|
|
|
[Q004]
|
|
(b)ptr is a
function that returns a pointer to an integer
quantity
|
|
|
|
[Q005]
|
|
(b)ptr is a
function that accepts an argument which is a pointer to
a integer returns an integer
quantity
|
|
|
|
[Q006]
|
|
(c)ptr is a function that accepts an
argument which is a pointer to a integer returns a
pointer to an integer quantity
|
|
|
|
[Q007]
|
|
(b)ptr is a
pointer to a function that accepts an argument which is
a pointer to a character returns an integer
quantity
|
|
|
|
[Q008]
|
|
(c)ptr is a
function that accepts an argument which is a pointer to
a integer returns a pointer to a 5-element integer
array
|
|
|
|
[Q009]
|
|
(b)ptr is a
function that accepts an argument which is a pointer to
a integer array returns an character
quantity
|
|
|
|
[Q010]
|
|
(c)ptr is a function that accepts an
argument which is an array of pointers to integers
returns an character quantity
|
|
|
|
[Q011]
|
|
(c)ptr is a
function that accepts an argument which is a character
array returns a pointer to an integer
quantity
|
|
|
|
[Q012]
|
|
(c)ptr is a function that accepts an
argument which is a array of pointers to characters
returns a pointer to an integer
quantity
|
|
|
|
[Q013]
|
|
(b)ptr is a
pointer to a function that accepts an argument which is
a pointer to a character array returns an integer
quantity
|
|
|
|
[Q014]
|
|
(b)ptr is a
pointer to a function that accepts an argument which is
a pointer to a character array returns a pointer to an
integer quantity
|
|
|
|
[Q015]
|
|
(c)ptr is a
pointer to a function that accepts an argument which is
an array of pointers to characters returns a pointer to
an integer quantity
|
|
|
|
[Q016]
|
|
(c)ptr is
a 10-element array of pointers to functions. Each
function returns an integer
quantity
|
|
|
|
[Q017]
|
|
(c)ptr is
a 10-element array of pointers to functions. Each
function accepts an argument which is a float and
returns an integer quantity
|
|
|
|
[Q018]
|
|
(d)ptr is a
10-element array of pointers to functions. Each function
accepts an argument which is a float and returns a
pointer to an integer quantity
|
|
|
|
[Q019]
|
|
(d)ptr is
a 10-element array of pointers to functions. Each
function accepts an argument which is a pointer to a
float and returns a pointer to an integer
quantity
|
|
|
|
[Q020]
|
|
(b)ptr is a
function that accepts an argument which is a pointer to
a character array returns a pointer to an integer
quantity
|
|
Back
|
|
Next
|
|