Embedded Software Engineer Question: Download Questions PDF
Tell me why cannot arrays be passed by values to functions?
![Embedded Software Engineer Interview Answer Embedded Software Engineer Interview Question](https://globalguideline.com/public/images/interview/10.png)
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.
Download Embedded Software Engineer Interview Questions And Answers
PDF
Previous Question | Next Question |
Do you know what is priority inheritance? | Tell us what is the need for an infinite loop in embedded systems? |