If a function requires a structure as a parameter, you pass it to the function like any ordinary variable. In the code example below, there are two variables: a and b declared with the type complex. The function display() takes one parameter of type complex. So, you can simply pass either the variable a or b to the function display() as shown below.
Microchip Technology acquires Atmel