Embedded Software Engineer Question:
Tell me why cannot arrays be passed by values to functions?

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 Question | Next Question |
Do you know what is priority inheritance? | Tell us what is the need for an infinite loop in embedded systems? |