What will be the correct syntax to access the value of fourth-03109
What will be the correct syntax to access the value of fourth element of an array using pointer ptr?
This multiple choice question (MCQ) is related to the book/course vu cs201 Introduction to Programming. It can also be found in vu cs201 Mid Term - Quiz No.2.
What will be the correct syntax to access the value of fourth element of an array using pointer ptr?
ptr[3]
(ptr+3)
*(ptr+3)
Both 1and 3
Similar question(s) are as followings:
What will be the correct syntax to access the value of fourth element of an array using pointer ptr?