Sptr is a pointer pointing to the beginning of an array called sarray. To access the value in sarray[3] by using the pointer, yo
u would use:a) *sptr[*3] b) *sptr+3 c) sptr +3 d) *(sptr + 3)
1 answer:
Answer:
The correct option for accessing the value in sarray[3] is : d) *(sptr+3)
Explanation:
a) *sptr[*3] is wrong option because its syntax is not right it will give errors.
b) *sptr+3 is also wrong option because it will add 3 to the value of sarray[0].
c) sptr+3 is wrong option because it will only access the address of sarray[3] not the value it contains.
d) *(sptr +3) is correct syntax for accessing value in sarray[3] by using pointer
You might be interested in
Answer:
I think the answer is the central processing unit. Hope it helps!!!!!
It will probably cost extra
4251.04
The perimeter (260.8) over 4 is equal to each side length (65.2)
65.2^2 = 4251.04
B. Loosening the drain plug with a screwdriver