C Programming – Is Operator Overloading Supported in C?

coperators

When I read about the LCC (Windows) compiler, I found out it has the implementation for operator overloading.

However, after a bit of Googling, I've confirmed that operator overloading isn't supported in standard C, although someone's comment mentioned LCC is ANSI-compliant.

Is LCC really standard C or is it just like objective-c, a C variant with object-oriented features?

Best Answer

No, it's an extension. You're allowed to have extensions as long as they don't conflict with the standard.

Related Topic