C Programming - Arrays - Discussion
Discussion Forum : Arrays - Yes / No Questions (Q.No. 4)
4.
Are the expressions arr and &arr same for an array of 10 integers?
Answer: Option
Explanation:
Both mean two different things. arr gives the address of the first int, whereas the &arr gives the address of array of ints.
Discussion:
15 comments Page 2 of 2.
Krishma said:
1 decade ago
When I'm running an example of this.. &arr and arr are giving the same value. How?
Saffrin said:
1 decade ago
They are same both arr and &arr holding starting address of array.
Dave said:
1 decade ago
Can anyone explain it in depth. not able to get what they r saying..
Vaishu said:
7 years ago
Please explain me clearly to get the answer.
(1)
Priya said:
1 decade ago
Someone explain this.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers