Avatar ·

What does the "-->" operator mean in C++ and how does it work?

Hello colleagues! I recently started learning C++ and came across some strange code on a forum. There was this snippet: ```cpp int x = 10; while (x --> 0) { printf("%d ", x); } ``` I'm confused. What is this `-->` operator? I know about decrement `--` and comparison `>`, but together they form some kind of arrow? How does this even work? I tried compiling this code in Visual Studio, and it didn't give an error — the program printed numbers from 9 to 0. But I don't understand the logic. Is this some new C++ standard? Or is it a feature of a specific compiler? Please explain in simple terms what's happening here. Are there any other hidden operators in C++ that beginners aren't told about? Thanks in advance! <<>>

Actually, this is not a separate operator