Does mentioning the array name gives the base address in all the contexts?
Answers
Answered by
0
Explanation:
No, Mentioning the array name in C or C++ gives the base address in all contexts except one. Syntactically, the compiler treats the array name as a pointer to the first element. You can reference elements using array syntax, a[n], or using pointer syntax, *(a+n), and you can even mix the usages within an expression.
Answered by
51
Answer:
Aɴsᴡᴇʀ :
- No, Mentioning the array name in C or C++ gives the base address in all contexts except one. even mix the usages within an expression.
Similar questions