What does the following declaration mean?
ptr is a pointer to an array of 10 integers
ptr is array of pointers to 10 integers
ptr is an array of 10 integers
ptr is an pointer to array
Answers
Answered by
2
Ptr is variable and it stores address.
Suppose you are postman and address are written on postcarand then you can reach to the house.
In the same way ptr store address and it will tell you where your value live (address ).
1. Ptr will store the starting address of integer array.
2.Ptr stores 10 address of integer variables.
3. Ptr is an array i.e int ptr[10]
4. Ptr points to address of array.
Similar questions