Dereference operator denoted by…
a) ampersand (&)
b) hash (#)
c) asterisk (*)
d) at rate (@)
What is the meaning of asterisk (*) operator in pointer?
a) value access by
b) value pointed by
c) value noted by
d) none of these
How many ways to place asterisk in pointers?
a) one
b) two
c) three
d) four
Explanation: placing next to data type, the variable name, in the middle
What type of pointer that can point to an object of data type?
a) void pointer
b) generic pointer
c) both a & b
d) integer pointer
The delete operator can be used on the pointers……
a) dereferenced inappropriately
b) never used
c) created with new operator
d) none of these
The correct statement for a function that takes pointer to a float, a pointer to a pointer to a char and returns a pointer to a pointer to a integer is..…
a) int **fun(float**, char**)
b) int **fun(float*, char**)
c) int **fun(float*, char*)
d) int **fun(float**, char*)