The void pointer can point to which type of objects?
a) int
b) float
c) double
d) all of these
When does the void pointer can be dereferenced?
a) when it doesn’t point to any value
b) when it cast to another object
c) using delete keyword
d) using shift keyword
Which of the following is the correct way to declare a pointer?
a) int *ptr
b) int ptr
c) int &ptr
d) all of these
Which of the following gives the [value] stored at the address pointed to by the pointer: ptr?
a) value (ptr)
b) ptr
c) &ptr
d) *ptr
A pointer can be initialized with……..
a) null
b) zero
c) address of an object
d) all of these
Which of the following keyword Generic pointers can be declared?
a) auto
b) void
c) asm
d) none of these