I think the formal name is actually "ternary conditional operator", but it gets abbreviated to "ternary operator" because there are no other ternary operators in most languages (except array indexing! but nobody calls it "ternary array access operator" haha)