Embedded System Question:

Explain Can structures be passed to the functions by value?

Embedded System Interview Question
Embedded System Interview Question

Answer:

Yes structures can be passed to functions by value. Though passing by value has two disadvantages :

1) The charges by the calling function are not reflected
2) Its slower than the pass by reference function call.


Previous QuestionNext Question
Explain What will this return malloc(sizeof(-10))?Explain Can we have constant volatile variable?