C _Imaginary Keyword
Definition and Usage
The _Imaginary keyword declares an imaginary number type. An imaginary number only has an imaginary part, and no real part.
It is an optional part of C. Most compilers, including GCC, do not support it, so you will rarely see it. Use _Complex instead, which stores both a real part and an imaginary part.
If a compiler supports it, you can include <complex.h> and write imaginary instead of _Imaginary.
Related Pages
The _Complex keyword declares a complex number type (a number with a real and an imaginary part).
Read more about data types in our C Data Types Tutorial.