define passing structure to a functiona structure


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.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: define passing structure to a functiona structure
Reference No:- TGS0305119

Expected delivery within 24 Hours