What does the question mark and the colon (?: ternary operator) mean in ...
And of course in this case as we are dropping one element, it no longer is a ternary operator but a binary operator. Binary operators include the vast majority of the operators we usually use when programming ( *, +, -, ^, |, ||, &, >>, etc). – tomacco Feb 5, 2018 at 18:07 Add a comment 189 It's the ternary or conditional operator.