Embedded System Question:
Explain Can structures be passed to the functions by value?
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.
1) The charges by the calling function are not reflected
2) Its slower than the pass by reference function call.
Previous Question | Next Question |
Explain What will this return malloc(sizeof(-10))? | Explain Can we have constant volatile variable? |