Q&A Discussions
? : are called Ternary Operators.
ex.
var = booleanExp ? ValueIfTrue : ValueIfFalse;
and that ? literally means "Asking a Question" Asking if the Boolean Expression is True.
If the Boolean Expression returned true, the Value for "True" will be assigned to the variable.
If the Boolean Expression returned false, the Value for "False" will be the one that'll be assigned to the variable instead.
I'm not asking a question, I just wanna share this to you guys 😁
18 Votes
6 Answersmodule 4 css
-2 Votes
7 AnswersHot today
How to make a 2d game
1 Votes
Html
2 Votes
Detach thread exception
1 Votes
Not video
1 Votes
Qt timer timeout
0 Votes