Is _Complex a macro or an operator?

Hello everyone,

I've trying to see where _Complex is defined but I found nothing. Is _Complex a macro, is it an operator? How does int _Complex work?
According to http://en.cppreference.com/w/c/keyword/_Complex it is a keyword.
_Complex is a keyword, although the normal usage is throgh the macro complex

Also note that "int _Complex" is an error, the only complex types in C are double complex, float complex, and long double complex (or, alternatively, double _Complex, float _Complex, and long double _Complex).

If you're using gcc to compile a C program, make sure to pass -pedantic-errors in addition to -std=c99
Last edited on
Topic archived. No new replies allowed.