Correct option is B
A. Pointers can be used to access array elements: (True) Pointers can be used to traverse arrays and access array elements using pointer arithmetic.
B. Pointers can store the address of another pointer: (True) Pointers can hold the memory address of other pointers, creating multi-level pointers.
C. Pointers are automatically dereferenced in expression: (False) Pointers need to be explicitly dereferenced using the * operator.
D. Pointers cannot be used to access structure members: (False) Pointers can access structure members using the -> operator.
Information Booster:
1.
Pointers and Arrays: Pointers can traverse arrays by storing the address of the array’s first element.
2.
Pointer-to-Pointer: Multi-level pointers (e.g., int **ptr) can hold the address of another pointer.
Additional Knowledge:
·
Dereferencing Pointers: Explicit dereferencing is required in expressions, where the * operator retrieves the value stored at the memory address.
·
Accessing Structure Members: The
-> operator is used to access structure members through pointers.