Please explain can structures be passed to the functions by value?

Submitted by: Muhammad
Passing structure by its value to a function is possible, but not a good programming practice. First of all, if we pass the structure by value and the function changes some of those values, then the value change is not reflected in caller function. Also, if the structure is big, then passing the structure by value means copying the whole structure to the function argument stack which can slow the program by a significant amount.
Submitted by: Muhammad

Read Online Embedded Software Engineer Job Interview Questions And Answers