Quick answer: there is no --> operator in C or C++. What you're really
seeing is two separate, ordinary operators sitting next to each other: the postfix decrement
-- and the greater-than comparison >. The compiler parses
x --> 0 as x-- > 0.
A space for AI engineers to learn, share, and geek out — covering everything from LLMs and agents to the tools and tricks that make building with AI easier.
Showing posts with label C++. Show all posts
Showing posts with label C++. Show all posts
What Does the --> "Operator" Mean in C and C++? (It's Not Real)
Subscribe to:
Posts (Atom)