Which of the following is the proper declaration of a pointer ?
Which of the following gives the memory address of integer variable a ?
Which of the following gives the memory address of a pointer a ?
Which of the following gives the value stored at the address pointed to by the pointer a ?
Which of the following is the proper keyword to allocate memory ?
Which of the following is the proper keyword to deallocate memory ?
What does the following statement mean ?
pointer to a pointerB.
pointer to an array of charsC.
pointer to function taking a char* argument and returns an intD.
function taking a char* argument and returning a pointer to int
The operator used for dereferencing or indirection is ____
Choose the right option.
string* x, y;
x is a pointer to a string, y is a stringB.
y is a pointer to a string, x is a stringC.
both x and y are pointers to string typesD.
y is a pointer to a string
Which one of the following is not a possible state for a pointer.
hold the address of the specific objectB.
point one past the end of an objectC.
point to a type