Computer Science, asked by muanawma9092, 11 months ago

Does mentioning the array name gives the base address in all the contexts?

Answers

Answered by helpmehh
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 ItzMagician
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