Embedded Software Engineer Question:

Tell me why cannot arrays be passed by values to functions?

Embedded Software Engineer Interview Question
Embedded Software Engineer Interview Question

Answer:

In C, the array name itself represents the address of the first element. So, even if we pass the array name as argument, it will be passed as reference and not its address.


Previous QuestionNext Question
Do you know what is priority inheritance?Tell us what is the need for an infinite loop in embedded systems?