Correct option is B
To access the 4th element of an array using pointer notation, consider the following:
1 An array a[] can be represented using pointers, where the name of the array a acts as a pointer to the first element.
· a is equivalent to &a[0], the address of the first element in the array.
2 To access the 4th element of the array, we use the formula:
4 th element =*(a+3)
Here, a+3 points to the address of the 4th element (index 3 in zero-based indexing), and the dereference operator (*) retrieves the value stored at that address.
*(a+4) This moves the pointer 4 positions ahead (to the 4th element) and dereferences it to get the value.