Embedded System Question:

Download Job Interview Questions and Answers PDF

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.

Download Embedded System Interview Questions And Answers PDF

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