#include #include #ifndef J #define J _Imaginary_I #endif int main(); int main() { // Create the complex number 4 -3j double complex z = 4.0 - 3.0*J; // Cast the address of 'z' as a pointer to a double and // interpret it as a 'double array[2];' double *array = (double *)(&z); printf( "z = %f%+fj\n", creal(z), cimag(z) ); printf( "z = %f%+fj\n", array[0], array[1] ); return 0; }