identify the best practices wrt exchanging structure

All QuestionsCategory: Embedded Systemidentify the best practices wrt exchanging structure
vaishnavi.talawar asked 3 years ago

1. pass the structure variables by value
2. pass the structure variables by address
3. return the structure variables by value
4. return the structure variables by address
a) 2&4
b) 2,3,&4
c) 2 only
d) 1&3