Define Passing Structure to a Function?
A structure is able to be passed as a function argument identical to any other variable. If we are merely interested in one member of a structure, it is almost certainly simpler to just pass that member. When a structure is passed as an argument every member of the structure is copied. This is able to prove expensive where structures are large or functions are called often. Working and Passing with pointers to large structures may be more efficient in such cases.