passing individual members passing structures to functions passing the entire structure passing the address of structure figure different ways of passing structures to functions passing individual members to pass any individual member of structure to functionwe must use the direct selection operator to refer to the individual members the called program does not know if variable is an ordinary variable or structured member look at the code given below which illustrates this concept #include typedef struct int xint }pointvoid display(intint)int main(point { }display( xp )return void display(int aint bprintf(the coordinates of the point are% % "ab)output the coordinates of the point are passing the entire structure just like any other variablewe can pass an entire structure as function argument when structure is passed as an argumentit is passed using the call by value methodi copy of each member of the structure is made the general syntax for passing structure to function and returning structure can be given asstruct struct_name func_name(struct struct_name struct_var)the above syntax can vary as per the requirement for examplein some situationswe may want function to receive structure but return void or the value of some other data type the code given below passes structure to function using the call by value method #include typedef struct int xint