struct complex
{
float re;
float im;
} x, y; //Declare x and y of type complex

int main (void)
{
 x.re = 1.25;        // Initialize real part of x
 x.im = 2.50;         // Initialize imaginary part of x
 y = x;               // Set struct y equal to struct x
...
}