*X + 2 will dereference first then add 2 to it.
Since X will point to the starting address of the array dereferencing it will give value 10 and adding 2 to it will give 12.
*(X+2), first X+2 will point to 2nd index in the array i.e. 30 dereferencing it will give value 30.
Ans: 12, 30